/* Регистратор «Устав» — «Чистый поток», свежая мята вместо бирюзы.
   Идея: три потока (форма, документы, первый месяц) сходятся в одну сводку.
   Мятная нить и «узлы» повторяются в заголовках, лентах и схемах.
   Первый экран: заголовок по центру и «путь старта» — пять шагов на одной нити (на телефоне нить идёт вертикально). */

:root {
  color-scheme: light;
  --ice: #F4F8FF;
  --ice-2: #EDF3FD;
  --paper: #FFFFFF;
  --ink: #17202A;
  --ink-2: #455163;
  --ink-3: #5B6980;
  --cobalt: #1746A2;
  --cobalt-d: #12398A;
  --blue: #2F7FE8;
  --blue-soft: #E4EFFF;
  --mint: #6FE3B5;
  --mint-soft: #DCF7EB;
  --mint-ink: #0B7A55;
  --amber: #E8A317;
  --amber-ink: #6F4300;
  --amber-soft: #FFF3D6;
  --amber-line: #F0C46A;
  --line: #DCE5F2;
  --line-2: #E8EEF8;
  --line-3: #C4D1E4;
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --shadow: 0 1px 2px rgba(23, 32, 42, .04), 0 18px 40px -24px rgba(23, 70, 162, .28);
  --shadow-lg: 0 2px 6px rgba(23, 32, 42, .04), 0 40px 80px -40px rgba(23, 70, 162, .38);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "PT Serif", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--ice); color: var(--ink); font: 400 16px/1.55 var(--font); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-underline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
.wrap--narrow { max-width: 860px; }
@media (min-width: 768px) { .wrap { width: min(1200px, calc(100% - 64px)); } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 600 15.5px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s, background .2s, box-shadow .2s, border-color .2s, color .2s; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--cobalt); color: #fff; box-shadow: 0 10px 22px -10px rgba(23, 70, 162, .7); }
.btn--primary:hover { background: var(--cobalt-d); transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-3); }
.btn--ghost:hover { border-color: var(--blue); color: var(--cobalt); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn { max-width: 100%; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(244, 248, 255, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
.top.is-stuck { border-bottom-color: var(--line); background: rgba(255, 255, 255, .9); }
.top__in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; color: var(--ink); text-decoration: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__mark rect { fill: var(--cobalt); }
.brand__mark path { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.brand__mark circle { fill: var(--mint); }
.brand__txt b { display: block; font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.brand__txt small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--ink-3); line-height: 1.2; }
.menu { display: none; margin-inline: auto; gap: 2px; }
.menu a { padding: 11px 14px; border-radius: 999px; color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; transition: background .2s, color .2s; }
.menu a:hover { background: var(--blue-soft); color: var(--cobalt); }
.top__act { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.phone { min-height: 44px; padding: 8px 4px; border: 0; background: none; color: var(--ink); font: 600 15px/1 var(--font); cursor: pointer; text-decoration: underline dotted var(--line-3); text-underline-offset: 5px; white-space: nowrap; }
.phone:hover { color: var(--cobalt); }
.top__act .phone { display: none; }
.burger { position: relative; }
.burger summary { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-3); border-radius: 50%; background: #fff; cursor: pointer; list-style: none; }
.burger summary::-webkit-details-marker { display: none; }
.burger summary svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.burger__nav { position: absolute; right: 0; top: calc(100% + 10px); z-index: 5; width: min(300px, calc(100vw - 32px)); padding: 8px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); }
.burger__nav a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 12px; color: var(--ink); font-weight: 500; text-decoration: none; }
.burger__nav a:hover { background: var(--ice); }
@media (min-width: 1040px) { .menu { display: flex; } .burger { display: none; } }
@media (min-width: 1140px) { .top__act .phone { display: inline-block; } }
@media (max-width: 400px) { .brand__txt small { display: none; } .top__act .btn--sm { padding: 0 14px; } }

/* ---------- hero: заголовок по центру + путь старта ---------- */
.hero { position: relative; padding-top: clamp(20px, 3vw, 30px); background: radial-gradient(50% 46% at 50% 0%, rgba(47, 127, 232, .15), transparent 72%), radial-gradient(38% 38% at 4% 96%, rgba(111, 227, 181, .26), transparent 70%), radial-gradient(34% 34% at 98% 70%, rgba(47, 127, 232, .1), transparent 70%), var(--ice); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(23, 70, 162, .16) 1px, transparent 1.4px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 78%); mask-image: linear-gradient(180deg, #000 0, transparent 78%); pointer-events: none; }
.hero__in { position: relative; display: grid; justify-items: center; padding-bottom: clamp(32px, 5vw, 56px); text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .85); color: var(--ink-2); font-size: 13.5px; font-weight: 500; line-height: 1.3; text-align: left; }
.pill__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(111, 227, 181, .35); }
.hero__h1 { max-width: 1000px; margin-bottom: 12px; font-size: clamp(2.05rem, 1rem + 2.9vw, 3.3rem); font-weight: 700; line-height: 1.06; letter-spacing: -.036em; text-wrap: balance; }
.hero__h1 .ml-word { padding-bottom: .16em; margin-bottom: -.16em; }
.hl { color: var(--cobalt); background: linear-gradient(transparent 82%, rgba(111, 227, 181, .8) 82%, rgba(111, 227, 181, .8) 94%, transparent 94%); }
.hero__lead { max-width: 74ch; margin-bottom: 20px; color: var(--ink-2); font-size: clamp(1rem, .95rem + .3vw, 1.13rem); line-height: 1.58; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 22px; }
.hero__cta .btn--lg { min-height: 52px; }
.hero__facts { display: grid; gap: 10px 32px; width: 100%; max-width: 520px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 14.5px; text-align: left; }
.hero__facts li { display: flex; align-items: flex-start; gap: 10px; }
.hero__facts .i { margin-top: 2px; color: var(--mint-ink); }
@media (max-width: 520px) { .hero__cta { width: 100%; } .hero__cta .btn { width: 100%; } }

/* на телефоне путь идёт сразу под текстом, кнопки — после него */
.sp { order: 4; }
.hero__cta { order: 5; }
.hero__facts { order: 6; }
@media (min-width: 720px) { .hero__cta { order: 4; } .sp { order: 5; } }

/* путь старта (hero) */
.sp { --a: 0; --node: 48px; --pt: 10px; position: relative; width: 100%; margin-bottom: 28px; border: 1px solid var(--line); border-radius: var(--r-xl); background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-lg); text-align: left; }
.sp__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 16px; padding: 12px 18px; border-bottom: 1px solid var(--line-2); }
.sp__title { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.sp__title i { width: 11px; height: 11px; flex: none; border-radius: 4px; background: var(--mint); box-shadow: 0 0 0 4px rgba(111, 227, 181, .3); }
.sp__bar em { color: var(--ink-3); font-size: 12px; font-style: normal; }
.sp__ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
.sp__arrows { display: none; }
.sp-arr { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-3); border-radius: 50%; background: #fff; color: var(--cobalt); cursor: pointer; transition: border-color .2s, background .2s, transform .2s, opacity .2s; }
.sp-arr:hover { border-color: var(--blue); background: var(--blue-soft); }
.sp-arr:active { transform: scale(.94); }
.sp-arr .i { width: 20px; height: 20px; }
.sp-arr--prev .i { transform: scaleX(-1); }
.sp-arr[aria-disabled="true"] { opacity: .38; cursor: default; pointer-events: none; }
.sp__steps { position: relative; isolation: isolate; margin: 8px 12px 12px; }
.sp__rail, .sp__notch { display: none; }

.sp-s { position: relative; }
.sp-b { position: relative; display: grid; grid-template-columns: var(--node) minmax(0, 1fr); align-items: center; column-gap: 14px; width: 100%; min-height: 64px; padding: var(--pt) 8px var(--pt) 0; border: 0; border-radius: 16px; background: none; color: var(--ink-2); text-align: left; cursor: pointer; }
.sp-b:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 16px; }
.sp-b__node { position: relative; z-index: 1; grid-row: 1 / span 2; display: grid; place-items: center; width: var(--node); height: var(--node); border: 2px solid var(--line-3); border-radius: 50%; background: #fff; color: var(--cobalt); transition: background .25s, border-color .25s, color .25s, box-shadow .25s, transform .25s; }
.sp-b__node .i { width: 24px; height: 24px; }
.sp-b__n { position: absolute; right: -7px; top: -7px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border: 2px solid var(--ice); border-radius: 11px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1; transition: background .25s, color .25s; }
.sp-b__t { align-self: end; font-size: 17px; font-weight: 650; letter-spacing: -.015em; line-height: 1.2; text-wrap: balance; transition: color .25s; }
.sp-b__d { align-self: start; justify-self: start; margin-top: 5px; padding: 3px 10px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); font-size: 12.5px; font-weight: 600; line-height: 1.3; white-space: nowrap; transition: background .25s, color .25s; }
.sp-b:hover .sp-b__node { border-color: var(--blue); transform: translateY(-2px); }
.sp-b:hover .sp-b__t { color: var(--cobalt); }
.sp-s.is-on .sp-b { color: var(--ink); }
.sp-s.is-on .sp-b__node { border-color: var(--cobalt); background: var(--cobalt); color: #fff; box-shadow: 0 0 0 6px rgba(47, 127, 232, .16), 0 14px 24px -12px rgba(23, 70, 162, .75); }
.sp-s.is-on .sp-b__node::after { content: ""; position: absolute; inset: -2px; border: 2px solid var(--blue); border-radius: 50%; opacity: 0; animation: nodering 2.6s ease-out infinite; pointer-events: none; }
.sp-s.is-on .sp-b__n { background: var(--mint); color: var(--ink); }
.sp-s.is-on .sp-b__t { color: var(--cobalt); }
.sp-s.is-on .sp-b__d { background: var(--mint-soft); color: var(--mint-ink); }
.sp-s.is-done .sp-b__node { border-color: var(--mint); background: var(--mint-soft); color: var(--mint-ink); }
.sp-s.is-done .sp-b__n { background: var(--mint-ink); }
.sp-s.is-done .sp-b__d { background: var(--mint-soft); color: var(--mint-ink); }

.sp-p { margin: 0 0 10px calc(var(--node) + 14px); padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #F2F8FF, #fff 78%); animation: rise .4s cubic-bezier(.2, .7, .2, 1); }
.js .sp-s:not(.is-on) .sp-p { display: none; }
.sp-p__k { display: block; margin-bottom: 4px; color: var(--cobalt); font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.sp-p__t { margin-bottom: 8px; font-size: 18px; font-weight: 650; letter-spacing: -.018em; line-height: 1.25; }
.sp-p__txt { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.sp-p__who { display: grid; gap: 9px; margin: 14px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 14px; line-height: 1.4; }
.sp-p__who li { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: 10px; }
.sp-who { display: inline-flex; align-items: center; justify-content: center; padding: 3px 0; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.sp-who--we { background: var(--mint-soft); color: var(--mint-ink); }
.sp-who--you { background: var(--blue-soft); color: var(--cobalt); }
.sp-who--gov { background: #EAEEF4; color: var(--ink-2); }
.sp-p__time { display: grid; gap: 10px; justify-items: start; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(23, 70, 162, .13); }
.sp-p__tk { color: var(--ink-3); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.sp-p__tv { color: var(--cobalt); font-size: 26px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.sp-p__tn { color: var(--ink-2); font-size: 13px; line-height: 1.35; }
.sp-ex { display: inline-block; margin-top: 6px; padding: 3px 9px; border: 1px dashed var(--line-3); border-radius: 999px; color: var(--ink-3); font-size: 11.5px; line-height: 1.3; }
.sp-next { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-3); border-radius: 999px; background: #fff; color: var(--cobalt); font: 600 14.5px/1 var(--font); text-decoration: none; cursor: pointer; transition: border-color .2s, transform .2s; }
.sp-next:hover { border-color: var(--blue); transform: translateY(-1px); }
.sp-next .i { width: 1.15em; height: 1.15em; }

/* телефон: путь вертикальный, нить слева проходит через узлы */
@media (max-width: 719.98px) {
  .sp-s::before { content: ""; position: absolute; left: calc(var(--node) / 2 - 2px); top: calc(var(--pt) + var(--node) / 2); bottom: calc(0px - var(--pt) - var(--node) / 2); width: 4px; border-radius: 4px; background: var(--line-2); }
  .sp-s:last-of-type::before { display: none; }
  .sp-s.is-done::before { background: var(--mint); }
  .sp-s.is-on::before { background: linear-gradient(var(--mint) 0, var(--line-3) 70px); }
  .sp-next { width: 100%; }
}
@media (max-width: 400px) { .sp__steps { margin-inline: 8px; } .sp-p { padding: 14px; } }

/* планшет и ноутбук: пять больших шагов в одну линию, под ними — раскрытый шаг */
@media (min-width: 720px) {
  .sp { --node: 56px; --pt: 16px; margin-bottom: 30px; }
  .sp__bar { padding: 7px 14px 7px 22px; }
  .sp__arrows { display: inline-flex; gap: 8px; }
  .sp-next { display: none; }
  .sp__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 12px 18px 16px; }
  .sp-s { display: contents; }
  .sp-b { grid-row: 1; grid-column: var(--c); display: flex; flex-direction: column; align-items: center; min-height: 0; padding: var(--pt) 8px 14px; border-radius: 20px; text-align: center; }
  .sp-b:focus-visible { border-radius: 20px; }
  .sp-b::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid transparent; border-radius: 20px; background: #fff; opacity: 0; transition: opacity .3s, border-color .3s, box-shadow .3s; }
  .sp-s.is-on .sp-b::before { opacity: 1; border-color: var(--line); box-shadow: 0 18px 30px -22px rgba(23, 70, 162, .5); }
  .sp-b__node { grid-row: auto; margin-bottom: 12px; }
  .sp-b__node .i { width: 25px; height: 25px; }
  .sp-b__t { align-self: auto; font-size: 16.5px; }
  .sp-b__d { align-self: auto; justify-self: auto; margin-top: 7px; }
  .sp-b__node { animation: popin .6s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--c) * 110ms + 350ms); }

  .sp__rail { display: block; position: absolute; z-index: 0; left: 10%; right: 10%; top: calc(var(--pt) + var(--node) / 2 - 2px); height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
  .sp__rail::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 28%; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(111, 227, 181, .95), transparent); animation: sweep 1.7s cubic-bezier(.4, 0, .2, 1) .5s 1 both; }
  .sp__fill { display: block; width: calc(var(--a) * 25%); height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--mint)); transition: width .6s cubic-bezier(.2, .7, .2, 1); }
  .sp__notch { display: block; grid-row: 2; grid-column: 1 / -1; align-self: start; position: relative; z-index: 2; height: 0; pointer-events: none; }
  .sp__notch::before { content: ""; position: absolute; top: 2px; left: calc(10% + var(--a) * 20%); width: 16px; height: 16px; margin-left: -8px; border: 1px solid var(--line); border-right: 0; border-bottom: 0; border-radius: 4px 0 0 0; background: #F2F8FF; transform: rotate(45deg); transition: left .55s cubic-bezier(.2, .7, .2, 1); }

  .sp-p { grid-row: 2; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 32px; margin: 10px 0 0; padding: 18px 26px 20px; border-radius: 22px; }
  .sp-p__k { display: inline; margin: 0 10px 0 0; }
  .sp-p__t { font-size: 19px; }
  .sp-p__who { margin: 0; align-content: start; }
  .sp-p__time { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 28px; margin-top: 14px; padding-top: 14px; }
  .sp-p__tm { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
  .sp-ex { margin-top: 0; }
}

@media (min-width: 1100px) {
  .sp { --node: 60px; }
  .sp__bar { padding: 7px 18px 7px 26px; }
  .sp__steps { margin: 12px 24px 18px; }
  .sp-b__node .i { width: 27px; height: 27px; }
  .sp-b__n { right: -6px; top: -6px; }
  .sp-b__t { font-size: 19px; }
  .sp-b__d { font-size: 13px; }
  .sp-p { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .74fr); gap: 0; padding: 18px 0 18px 30px; }
  .sp-p__main { padding-right: 30px; }
  .sp-p__who { padding: 0 28px; border-left: 1px solid rgba(23, 70, 162, .13); }
  .sp-p__time { grid-column: auto; grid-template-columns: minmax(0, 1fr); align-content: start; justify-items: start; gap: 8px; margin: 0; padding: 0 30px 0 28px; border-top: 0; border-left: 1px solid rgba(23, 70, 162, .13); }
  .sp-p__tm { display: grid; gap: 6px; justify-items: start; }
  .sp-ex { margin-top: 0; }
}
@media (min-width: 900px) {
  .hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1120px; }
}

/* без JS путь читается списком: все пять шагов раскрыты */
html:not(.js) .sp__rail, html:not(.js) .sp__notch, html:not(.js) .sp__arrows, html:not(.js) .sp-next[type="button"] { display: none; }
html:not(.js) .sp-b { cursor: default; }
@media (min-width: 720px) {
  html:not(.js) .sp__steps { display: block; }
  html:not(.js) .sp-s { display: block; }
  html:not(.js) .sp-b { display: grid; flex-direction: row; text-align: left; padding: 10px 8px 10px 0; }
  html:not(.js) .sp-b::before { display: none; }
  html:not(.js) .sp-b__node { margin-bottom: 0; animation: none; grid-row: 1 / span 2; }
  html:not(.js) .sp-p { margin: 0 0 10px calc(var(--node) + 14px); }
}

.sum__k { margin-bottom: 8px; color: var(--cobalt); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.bar { height: 8px; border-radius: 8px; background: #E1EAF7; overflow: hidden; }
.bar__fill { display: block; width: var(--p, 0%); height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--blue), var(--mint)); transition: width .5s cubic-bezier(.2, .7, .2, 1); }

.strip { position: relative; padding: 15px 0; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .72); overflow: hidden; }
.strip__row { gap: 2.4rem; color: var(--ink-3); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.strip__row span { display: inline-flex; align-items: center; gap: 12px; }
.strip__row span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(64px, 9vw, 120px) 0; }
.sec--white { background: #fff; border-block: 1px solid var(--line-2); }
.sec__head { max-width: 800px; margin-bottom: clamp(28px, 4vw, 52px); }
.kick { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--cobalt); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.kick i { position: relative; width: 30px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--mint), var(--blue)); }
.kick i::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(111, 227, 181, .3); }
.kick--sm { color: #BFE0FF; }
.kick--sm i { margin-left: 4px; }
h2 { margin-bottom: 16px; font-size: clamp(1.7rem, 1.1rem + 2.1vw, 2.85rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
h3 { font-weight: 650; letter-spacing: -.01em; }
.sec__lead { max-width: 68ch; color: var(--ink-2); font-size: clamp(1rem, .95rem + .3vw, 1.14rem); line-height: 1.6; }

/* ---------- navigator ---------- */
.navsec { background: linear-gradient(180deg, var(--ice) 0, #E8F1FF 100%); }
.navsec::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(23, 70, 162, .12) 1px, transparent 1.4px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 60%); mask-image: linear-gradient(180deg, transparent 0, #000 60%); pointer-events: none; }
.navsec .wrap { position: relative; }
.nav { border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-lg); overflow: clip; }
@media (min-width: 1040px) { .nav { display: grid; grid-template-columns: minmax(0, 1fr) 340px; } }
.nav__main { padding: clamp(18px, 3vw, 38px); min-width: 0; }

.stepper { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 32px; list-style: none; }
.step { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 0 4px 6px 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink-3); font-size: 14.5px; font-weight: 600; line-height: 1.2; }
.step__n { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 1.5px solid var(--line-3); border-radius: 50%; background: #fff; color: var(--ink-3); font-size: 14px; font-weight: 700; transition: all .3s; }
.step.is-on { color: var(--ink); }
.step.is-on .step__n { border-color: var(--cobalt); background: var(--cobalt); color: #fff; box-shadow: 0 0 0 5px rgba(47, 127, 232, .16); }
.step.is-done { color: var(--ink-2); }
.step.is-done .step__n { border-color: var(--mint-ink); background: var(--mint); color: var(--ink); }
.step:hover .step__n { border-color: var(--blue); }
.stepper__line { position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.stepper__line i { display: block; width: 33.33%; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--mint)); transition: width .55s cubic-bezier(.2, .7, .2, 1); }
.nav[data-step="2"] .stepper__line i { width: 66.66%; }
.nav[data-step="3"] .stepper__line i { width: 100%; }
@media (max-width: 520px) { .step { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 13px; } }

.js .panel { display: none; }
.js .panel.is-on { display: block; animation: rise .5s cubic-bezier(.2, .7, .2, 1); }
html:not(.js) .panel + .panel { margin-top: 44px; padding-top: 36px; border-top: 2px dashed var(--line); }
html:not(.js) .nav__foot { display: none; }
.js [data-form-block] { display: none; }
.js [data-form-block].is-on { display: block; animation: rise .45s cubic-bezier(.2, .7, .2, 1); }
html:not(.js) .month[data-form-block]::before { display: block; margin-bottom: 14px; font-size: 20px; font-weight: 650; }
html:not(.js) .month[data-form-block="ip"]::before { content: "План первого месяца для ИП"; }
html:not(.js) .month[data-form-block="ooo"]::before { content: "План первого месяца для ООО"; }
html:not(.js) .month[data-form-block="npd"]::before { content: "План первого месяца для самозанятого"; }
html:not(.js) .month, html:not(.js) .docs { margin-top: 24px; }

.fs { min-width: 0; margin: 0; padding: 0; border: 0; }
.fs legend { padding: 0; margin-bottom: 12px; font-size: 15px; font-weight: 600; }
.choices { display: grid; gap: 12px; }
@media (min-width: 700px) { .choices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice__in { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color .2s, background .2s, box-shadow .2s, transform .2s; }
.choice__in::after { content: ""; position: absolute; right: 16px; top: 16px; width: 22px; height: 22px; border: 1.5px solid var(--line-3); border-radius: 50%; background: #fff center / 13px no-repeat; transition: all .2s; }
.choice__in b { padding-right: 30px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.choice__in small { color: var(--ink-3); font-size: 13.5px; line-height: 1.45; }
.choice:hover .choice__in { border-color: var(--blue); transform: translateY(-2px); }
.choice input:checked + .choice__in { border-color: var(--blue); background: linear-gradient(180deg, #F6FAFF, #E9F3FF); box-shadow: 0 0 0 4px rgba(47, 127, 232, .14); }
.choice input:checked + .choice__in::after { border-color: var(--mint-ink); background-color: var(--mint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5 9.5 17 19 7' fill='none' stroke='%2317202A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.choice input:focus-visible + .choice__in { outline: 3px solid var(--blue); outline-offset: 3px; }

.grid2 { display: grid; gap: 22px 24px; margin-top: 28px; }
@media (min-width: 700px) { .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fld label, .fld__row label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.fld input[type="text"], .fld input[type="tel"], .fld select { width: 100%; height: 54px; padding: 0 16px; border: 1.5px solid var(--line-3); border-radius: 14px; background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.fld select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9.5 6 6 6-6' fill='none' stroke='%2366748A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 20px no-repeat; cursor: pointer; }
.fld input:hover, .fld select:hover { border-color: var(--blue); }
.fld input:focus, .fld select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 127, 232, .18); }
.fld__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fld__row output { font-size: 18px; font-weight: 700; color: var(--cobalt); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fld--range { --rg-fill: var(--blue); --rg-track: #DCE6F5; --rg-thumb: var(--blue); }
.hint { margin-top: 2px; color: var(--ink-3); font-size: 13px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; --p: 30%; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--rg-fill) var(--p), var(--rg-track) var(--p)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; background: var(--rg-track); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--rg-fill); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border: 3px solid var(--rg-thumb); border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(23, 70, 162, .35); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 3px solid var(--rg-thumb); border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(23, 70, 162, .35); }

.seg { display: flex; gap: 4px; padding: 4px; border-radius: 16px; background: var(--ice-2); }
.seg label { position: relative; flex: 1; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 10px; border-radius: 12px; color: var(--ink-2); font-size: 15px; font-weight: 600; text-align: center; transition: all .2s; }
.seg input:checked + span { background: #fff; color: var(--cobalt); box-shadow: 0 2px 8px rgba(23, 70, 162, .18); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.flags { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ice); }
.flags__h { margin-bottom: 12px; color: var(--ink-3); font-size: 12.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.flags__list { display: grid; gap: 8px; margin: 0; list-style: none; }
.flag { display: flex; align-items: flex-start; gap: 11px; padding: 12px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; animation: rise .4s cubic-bezier(.2, .7, .2, 1); }
.flag .i { margin-top: 1px; }
.flag--ok { background: var(--mint-soft); color: #075A3F; }
.flag--warn { border: 1px solid var(--amber-line); background: var(--amber-soft); color: var(--amber-ink); }
.flag--info { background: var(--blue-soft); color: #103C86; }

.panel__lead { max-width: 62ch; margin-bottom: 24px; color: var(--ink-2); }
.docs__t { margin-bottom: 14px; font-size: 21px; }
.docs__cols { display: grid; gap: 14px; }
@media (min-width: 760px) { .docs__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.docs__col { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.who { display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.who--you { background: var(--blue-soft); color: var(--cobalt); }
.who--we { background: var(--mint-soft); color: var(--mint-ink); }
.who--sep { background: var(--amber-soft); color: var(--amber-ink); }
.who--gov { background: #EAEEF4; color: var(--ink-2); }
.chk { display: grid; gap: 4px; margin: 0; list-style: none; }
.chk label, .tick { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.chk label { min-height: 44px; padding: 8px 8px; margin: 0 -8px; border-radius: 12px; transition: background .2s; }
.chk label:hover { background: var(--ice); }
.chk input, .tick input { appearance: none; -webkit-appearance: none; flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin: 1px 0 0; border: 1.8px solid var(--line-3); border-radius: 8px; background: #fff; cursor: pointer; transition: all .2s; }
.chk input:checked, .tick input:checked { border-color: var(--mint-ink); background: var(--mint); }
.chk input:checked::after, .tick input:checked::after { content: ""; width: 11px; height: 6px; margin-top: -2px; border-left: 2.4px solid var(--ink); border-bottom: 2.4px solid var(--ink); transform: rotate(-45deg); }
.chk__t { font-size: 15px; font-weight: 500; line-height: 1.35; }
.chk__t small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 13px; font-weight: 400; line-height: 1.4; }
.done, .sepl { display: grid; gap: 11px; margin: 0; list-style: none; font-size: 14.5px; line-height: 1.45; }
.done li, .sepl li { position: relative; padding-left: 20px; }
.done li::before, .sepl li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.sepl li::before { background: var(--amber); border-radius: 2px; }
.docprog { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding: 16px 20px; border-radius: var(--r-md); background: var(--ice); }
.docprog p { flex: none; font-size: 15px; }
.docprog b { color: var(--cobalt); font-variant-numeric: tabular-nums; }
.docprog .bar { flex: 1; }

.weeks { position: relative; display: grid; margin: 0; list-style: none; }
.weeks::before { content: ""; position: absolute; left: 48px; top: 20px; bottom: 36px; width: 2px; background: repeating-linear-gradient(180deg, var(--blue) 0 6px, transparent 6px 12px); opacity: .35; }
.wk { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding-bottom: 26px; }
.wk__n { align-self: start; padding: 7px 10px; border: 1px solid #C9DDFB; border-radius: 999px; background: var(--blue-soft); color: var(--cobalt); font-size: 13px; font-weight: 650; text-align: center; z-index: 1; }
.wk__b h3 { margin: 3px 0 12px; font-size: 18px; }
.wk__b ul { display: grid; gap: 9px; margin: 0; list-style: none; }
.wk__b li { display: flex; align-items: baseline; gap: 12px; font-size: 15px; line-height: 1.45; }
.wk .who { flex: none; min-width: 48px; margin: 0; padding: 3px 8px; font-size: 11px; }
@media (max-width: 560px) {
  .weeks::before { display: none; }
  .wk { grid-template-columns: 1fr; gap: 10px; padding-bottom: 22px; }
  .wk__n { justify-self: start; }
}

.pay { margin-top: 30px; padding: clamp(18px, 2.5vw, 26px); border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, #F5F9FF, #fff); }
.pay__t { margin-bottom: 14px; font-size: 16px; font-weight: 600; line-height: 1.4; }
.pay__rows { display: grid; margin: 0; }
.pay__rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 22px; padding: 14px 0; border-top: 1px dashed var(--line-3); }
.pay__rows dt { max-width: 64ch; font-size: 14.5px; line-height: 1.45; }
.pay__rows dt small { display: block; margin-top: 3px; color: var(--ink-3); font-size: 12.5px; line-height: 1.45; }
.pay__rows dd { margin: 0; color: var(--cobalt); font: 650 18px/1.3 var(--font); font-variant-numeric: tabular-nums; text-align: right; }
.pay__note { margin-top: 14px; color: var(--ink-2); font: italic 14px/1.6 var(--serif); }
@media (max-width: 560px) { .pay__rows > div { flex-direction: column; gap: 6px; } .pay__rows dd { text-align: left; } }
.disc { margin-top: 22px; padding: 18px 20px; border: 1.5px dashed var(--line-3); border-radius: var(--r-md); background: #fff; }
.disc__meta { display: grid; gap: 6px; margin: 0; list-style: none; color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
.disc__meta b { color: var(--ink); }
.disc__tag { display: inline-block; margin: 14px 0 8px; padding: 5px 12px; border: 1px solid var(--amber-line); border-radius: 999px; background: var(--amber-soft); color: var(--amber-ink); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.disc__full { color: var(--ink-2); font: 13px/1.6 var(--serif); }
.nav__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.js .nav[data-step="1"] [data-prev] { visibility: hidden; }

.nav__sum { padding: clamp(20px, 3vw, 32px); border-top: 1px solid var(--line); background: linear-gradient(180deg, #F3F8FF 0, #E4EEFF 100%); }
@media (min-width: 1040px) { .nav__sum { border-top: 0; border-left: 1px solid var(--line); } .sum { position: sticky; top: 96px; } }
.sum__merge { width: 124px; height: 44px; margin-bottom: 10px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; }
.sum__merge .m-out { stroke: var(--mint-ink); stroke-width: 3; }
.sum__merge circle { fill: var(--mint); stroke: #fff; stroke-width: 2; }
.nav__sum .sum__k { margin-bottom: 4px; }
.sum__rows { display: grid; margin: 8px 0 20px; }
.sum__rows > div { padding: 12px 0; border-top: 1px solid rgba(23, 70, 162, .13); }
.sum__rows dt { color: var(--ink-3); font-size: 12.5px; }
.sum__rows dd { margin: 3px 0 0; font-size: 15px; font-weight: 600; line-height: 1.4; }
.sum__rows dd.is-flash { animation: flash .8s ease-out; }
.sum__small { margin-top: 12px; color: var(--ink-3); font-size: 12.5px; line-height: 1.45; }

/* ---------- lanes ---------- */
.lanes { display: grid; gap: 14px; margin: 0; list-style: none; }
.lc { display: block; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ice); }
.lc--lab { display: none; }
.lc__h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 18px; }
.lc__h span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cobalt); color: #fff; font-size: 14px; font-weight: 700; }
.cell { margin-top: 8px; }
.cell p { padding: 12px 14px; border: 1px solid var(--line); border-left: 4px solid var(--lane, var(--blue)); border-radius: 12px; background: #fff; font-size: 14.5px; line-height: 1.45; }
.cell::before { content: attr(data-lane); display: block; margin: 0 0 4px 2px; color: var(--ink-3); font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.cell--you { --lane: var(--blue); }
.cell--we { --lane: var(--mint-ink); }
.cell--gov { --lane: #8795AB; }
.cell--idle { display: none; }
.cell--key p { border-color: var(--amber-line); border-left-color: var(--amber); background: #FFFAEC; }
@media (min-width: 640px) { .lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) {
  .lanes { display: grid; grid-auto-flow: column; grid-template-rows: auto repeat(3, minmax(104px, auto)); grid-template-columns: 92px repeat(6, minmax(0, 1fr)); gap: 0; }
  .lc { display: contents; }
  .lc--lab { display: contents; }
  .lc__h { justify-content: flex-start; align-items: flex-end; margin: 0; padding: 0 8px 14px; font-size: 15px; line-height: 1.2; }
  .lc__h:empty { padding: 0; }
  .lc__h span { width: 26px; height: 26px; flex: none; font-size: 13px; }
  .lab { display: flex; align-items: center; padding-right: 10px; color: var(--ink-2); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
  .lab--you { color: var(--cobalt); } .lab--we { color: var(--mint-ink); } .lab--gov { color: var(--ink-3); }
  .cell { position: relative; display: flex; align-items: stretch; margin: 0; padding: 10px 7px; }
  .cell::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin: 0; border-radius: 2px; background: var(--lane); opacity: .38; }
  .cell p { position: relative; display: flex; align-items: center; width: 100%; padding: 12px 13px; font-size: 13.5px; box-shadow: 0 6px 16px -10px rgba(23, 70, 162, .4); }
  .cell--idle { display: flex; }
  .cell--idle::before { background: repeating-linear-gradient(90deg, var(--lane) 0 6px, transparent 6px 12px); opacity: .3; }
  .lc:nth-child(2) .cell::before { left: 14px; }
}

/* ---------- prices ---------- */
.cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pc { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; transition: transform .3s, box-shadow .3s, border-color .3s; }
.pc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-3); }
.pc:nth-child(-n+2) { border-color: #C8EBDB; background: linear-gradient(180deg, #fff 30%, #EEFAF4); }
.pc__k { color: var(--mint-ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pc h3 { margin: 6px 0 4px; font-size: 21px; line-height: 1.25; }
.pc__p { margin: 10px 0 12px; font-size: 36px; font-weight: 750; letter-spacing: -.035em; line-height: 1.1; }
.pc__p span { margin-right: 4px; color: var(--ink-3); font-size: .5em; font-weight: 500; letter-spacing: 0; }
.pc__p small { display: inline-block; color: var(--ink-3); font-size: 14px; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.pc__d { margin-top: 2px; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

.est { margin-top: 28px; padding: clamp(22px, 3.2vw, 42px); border-radius: var(--r-xl); background: radial-gradient(70% 90% at 100% 0, rgba(111, 227, 181, .22), transparent 60%), linear-gradient(135deg, #0F2F73, #1746A2 62%, #1C55BE); color: #fff; box-shadow: var(--shadow-lg); }
.est__in { display: grid; gap: 28px; }
@media (min-width: 900px) { .est__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px 44px; align-items: start; } .est__head { grid-column: 1 / -1; } }
.est h3 { margin: 4px 0 10px; font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); line-height: 1.15; letter-spacing: -.025em; }
.est__lead { max-width: 60ch; color: #C9DBF7; font-size: 15.5px; }
.est__ctl { display: grid; gap: 14px; }
.est .fs legend, .est .fld label { color: #fff; }
.est .seg { background: rgba(255, 255, 255, .13); }
.est .seg span { color: #D6E5FB; }
.est .seg input:checked + span { background: #fff; color: var(--cobalt); }
.est .fld__row output { color: var(--mint); font-size: 20px; }
.est .fld--range { --rg-fill: var(--mint); --rg-track: rgba(255, 255, 255, .24); --rg-thumb: var(--mint); }
.est__out { padding: clamp(20px, 2.5vw, 30px); border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .55); }
.est__k { color: var(--ink-3); font-size: 12.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.est__big { margin: 8px 0 10px; color: var(--cobalt); font-size: clamp(2.3rem, 1.5rem + 3vw, 3.5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.est__big small { color: var(--ink-3); font-size: 15px; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.est__r { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.est__why { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-3); color: var(--ink-3); font: italic 13.5px/1.55 var(--serif); }
.legal { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); color: #C9DBF7; font-size: 14px; line-height: 1.55; }
.legal b { color: #fff; font-weight: 600; }
.legal--full { margin-top: 10px; padding-top: 0; border-top: 0; color: #D3E2F8; font: 12.5px/1.6 var(--serif); }
.est :focus-visible { outline-color: #fff; }
.est__src { margin-top: 10px; color: var(--ink-3); font-size: 12.5px; line-height: 1.5; }

.incl { margin-top: clamp(40px, 6vw, 72px); }
.incl__t { margin-bottom: 18px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -.025em; }
.incl__wrap { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.incl__tbl { width: 100%; border-collapse: collapse; }
.incl__tbl th, .incl__tbl td { padding: 16px 20px; text-align: left; vertical-align: top; font-size: 14.5px; line-height: 1.5; }
.incl__tbl thead th { background: var(--ice); color: var(--ink-3); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.incl__tbl tbody tr + tr > * { border-top: 1px solid var(--line-2); }
.incl__tbl tbody th { width: 21%; font-weight: 650; }
.incl__tbl td { width: 39.5%; }
@media (min-width: 760px) {
  .incl__tbl td:nth-child(2)::before { content: "\2713\00a0"; color: var(--mint-ink); font-weight: 800; }
  .incl__tbl td:nth-child(3)::before { content: "+\00a0"; color: #A86300; font-weight: 800; }
}
@media (max-width: 759px) {
  .incl__tbl, .incl__tbl tbody, .incl__tbl tr, .incl__tbl th, .incl__tbl td { display: block; width: 100%; }
  .incl__tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .incl__tbl tbody tr + tr { border-top: 1px solid var(--line); }
  .incl__tbl tbody tr + tr > * { border-top: 0; }
  .incl__tbl tbody th { width: 100%; padding: 18px 18px 4px; font-size: 16px; }
  .incl__tbl td { width: 100%; padding: 6px 18px; }
  .incl__tbl td:last-child { padding-bottom: 18px; }
  .incl__tbl td::before { content: attr(data-l); display: block; margin-bottom: 2px; color: var(--mint-ink); font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
  .incl__tbl td:last-child::before { color: #A86300; }
}

/* ---------- responsibility ---------- */
.resp { display: grid; gap: 28px; }
@media (min-width: 1000px) { .resp { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: start; } .resp__side { position: sticky; top: 100px; } }
.resp__list { display: grid; gap: 12px; margin: 0; list-style: none; }
.resp__list li { display: flex; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ice); }
.resp__n { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--cobalt); color: #fff; font-size: 15px; font-weight: 700; }
.resp__list h3 { margin-bottom: 6px; font-size: 18px; }
.resp__list p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.resp__side { display: grid; gap: 18px; }
.ledger { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.ledger__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--ice); border-bottom: 1px solid var(--line-2); }
.ledger__t { font-size: 14.5px; font-weight: 650; }
.ledger__bar em { color: var(--ink-3); font-size: 12px; font-style: normal; text-align: right; }
.ledger__rows { margin: 0; list-style: none; }
.ledger__rows li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 14px; align-items: center; padding: 14px 18px; }
.ledger__rows li + li { border-top: 1px solid var(--line-2); }
.ledger__task { font-size: 15px; font-weight: 500; }
.ledger__who { grid-column: 2; color: var(--ink-3); font-size: 13px; }
.lg { display: inline-flex; align-items: center; gap: 6px; min-width: 112px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 650; }
.lg .i { width: 15px; height: 15px; }
.lg--done { background: var(--mint-soft); color: #075A3F; }
.lg--now { background: var(--amber-soft); color: var(--amber-ink); }
.lg--wait { background: #EAEEF4; color: var(--ink-2); }
@media (max-width: 480px) { .ledger__rows li { grid-template-columns: 1fr; } .ledger__who { grid-column: 1; } }
.photo img { width: 100%; border-radius: var(--r-lg); background: var(--ice-2); }
.photo figcaption { padding: 12px 4px 0; color: var(--ink-3); font-size: 13.5px; line-height: 1.45; }
.photo--sq img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 4%; }

/* ---------- team ---------- */
.team { display: grid; gap: 16px; }
@media (min-width: 760px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.person, .creds, .secure { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; }
.person__av { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 20px; background: linear-gradient(135deg, var(--blue), var(--cobalt)); color: #fff; font-size: 20px; font-weight: 700; letter-spacing: .02em; }
.person__av--b { background: linear-gradient(135deg, var(--mint), #3FC796); color: var(--ink); }
.person h3 { font-size: 21px; }
.person__r { margin: 4px 0 10px; color: var(--mint-ink); font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.person p:last-child { color: var(--ink-2); font-size: 15px; }
.creds { border: 1.5px dashed var(--amber-line); background: #FFFCF3; }
.creds__k { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 16px; font-weight: 650; }
.tag-demo { display: inline-block; padding: 3px 10px; border: 1px dashed var(--amber-line); border-radius: 999px; background: var(--amber-soft); color: var(--amber-ink); font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.creds ul { display: grid; gap: 8px; margin: 0 0 14px; list-style: none; }
.creds li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 14px; border: 1.5px dashed var(--line-3); border-radius: 14px; background: #fff; font-size: 14.5px; }
.creds li b { color: var(--amber-ink); font-weight: 600; }
.creds__n { color: var(--ink-3); font: italic 13.5px/1.55 var(--serif); }
.secure__k { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; color: var(--cobalt); font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.secure h3 { margin-bottom: 14px; font-size: 20px; line-height: 1.25; }
.secure ul { display: grid; gap: 9px; margin: 0 0 14px; list-style: none; font-size: 15px; }
.secure li { position: relative; padding-left: 26px; }
.secure li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 12px; height: 7px; border-left: 2.4px solid var(--mint-ink); border-bottom: 2.4px solid var(--mint-ink); transform: rotate(-45deg) translateY(-50%); }
.secure__n { color: var(--ink-3); font: italic 13.5px/1.55 var(--serif); }

/* ---------- cases ---------- */
.cases { display: grid; gap: 16px; }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.case { display: flex; flex-direction: column; gap: 14px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--ice); }
.case .tag-demo { align-self: flex-start; }
.case h3 { font-size: 20px; line-height: 1.25; }
.case dl { display: grid; gap: 12px; }
.case dt { color: var(--mint-ink); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.case dd { margin-top: 2px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.case__note { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-3); color: var(--ink-2); font: italic 15px/1.6 var(--serif); }

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; display: flex; align-items: center; min-height: 64px; padding: 14px 52px 14px 0; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); font-weight: 600; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 2.4px solid var(--cobalt); border-bottom: 2.4px solid var(--cobalt); transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--cobalt); }
.faq p { max-width: 68ch; padding: 0 0 22px; color: var(--ink-2); }

/* ---------- contacts ---------- */
.contacts { background: linear-gradient(180deg, var(--ice) 0, #E8F1FF 100%); }
.contacts__grid { display: grid; gap: 22px; }
@media (min-width: 1000px) { .contacts__grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 32px; align-items: start; } }
.form { display: grid; gap: 16px; padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-lg); }
.form__warn { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--amber-line); border-radius: 14px; background: var(--amber-soft); color: var(--amber-ink); font-size: 14.5px; font-weight: 600; }
.tick { min-height: 44px; padding: 6px 0; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.tick a { color: var(--cobalt); font-weight: 500; }
.chan p { margin-bottom: 10px; color: var(--ink-3); font-size: 13.5px; }
.chan__row { display: flex; flex-wrap: wrap; gap: 10px; }
.chan__row .btn { flex: 1 1 auto; padding: 0 14px; }

.office { display: grid; gap: 16px; }
.map { position: relative; border: 1px solid var(--line); border-radius: var(--r-xl); background: #EEF4FC; overflow: hidden; box-shadow: var(--shadow); }
.map svg { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
@media (min-width: 560px) { .map svg { aspect-ratio: 560 / 320; } }
.m-bg { fill: #EEF4FC; }
.m-river { fill: #D2E5FB; }
.m-park rect { fill: #DDF5EA; stroke: #BFEBD6; }
.m-park circle { fill: #9ADFBF; opacity: .85; }
.m-st { fill: #6B7C96; font: 600 12px var(--font); letter-spacing: .06em; text-transform: uppercase; }
.m-call rect { fill: #fff; stroke: #C4D1E4; }
.m-call text { fill: var(--ink); font: 650 15px var(--font); }
.m-blocks rect { fill: #fff; stroke: #DCE5F2; }
.m-roads path { fill: none; stroke: #DDE6F3; stroke-width: 12; }
.m-main path { fill: none; stroke: #fff; stroke-width: 12; }
.m-path { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 9; animation: dash 1.2s linear infinite; }
.m-pulse { fill: rgba(47, 127, 232, .2); transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.m-pin__c { fill: var(--cobalt); stroke: #fff; stroke-width: 3; }
.m-pin__d { fill: var(--mint); }
.m-riv { fill: #4F79AE; font: italic 14px var(--serif); }
.map__tag { position: absolute; left: 14px; top: 14px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink-3); font-size: 12px; font-weight: 600; }
.office__row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; }
@media (min-width: 560px) { .office__row { grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 18px; } .photo--tall img { aspect-ratio: 3 / 5; } }
@media (max-width: 559px) { .office__row { grid-template-columns: minmax(0, 1fr); } .photo--tall img { aspect-ratio: 16 / 8; object-position: 50% 62%; } }
.photo--tall img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.office__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--ice); font-size: 13px; font-weight: 600; line-height: 1.3; }
.badge i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); }
.badge[data-state="open"] { border-color: #BDE9D3; background: var(--mint-soft); color: #075A3F; }
.badge[data-state="open"] i { background: #17B26A; box-shadow: 0 0 0 4px rgba(23, 178, 106, .22); animation: pulse-dot 2s ease-in-out infinite; }
.badge[data-state="closed"] { border-color: #F3D5C4; background: #FFF3EC; color: #8A3A12; }
.badge[data-state="closed"] i { background: #C8531E; }
.office__txt h3 { font-size: 19px; line-height: 1.3; }
.office__a { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.office__ph { font-size: 15px; }
.office__ph .phone { font-size: 15.5px; }

.after { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; }
.after h3 { margin-bottom: 14px; font-size: 18px; }
.after ol { display: grid; gap: 14px; margin: 0; list-style: none; counter-reset: st; }
.after li { position: relative; display: grid; gap: 2px; padding-left: 44px; counter-increment: st; }
.after li::before { content: counter(st); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: var(--ink); font-size: 14px; font-weight: 700; }
.after li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 34px; bottom: -12px; width: 2px; background: repeating-linear-gradient(180deg, var(--mint-ink) 0 4px, transparent 4px 8px); opacity: .4; }
.after li b { font-size: 15px; font-weight: 650; }
.after li span { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }

/* ---------- footer ---------- */
.foot { padding: 48px 0 40px; border-top: 1px solid var(--line); background: #fff; }
.foot__in { display: grid; gap: 28px; }
@media (min-width: 900px) { .foot__in { grid-template-columns: 1.1fr .8fr 1.2fr; gap: 48px; } }
.foot__brand p { max-width: 36ch; margin-top: 14px; color: var(--ink-3); font-size: 14px; }
.foot__nav { display: grid; align-content: start; gap: 2px; }
.foot__nav a { display: flex; align-items: center; min-height: 44px; color: var(--ink-2); font-size: 14.5px; text-decoration: none; }
.foot__nav a:hover { color: var(--cobalt); text-decoration: underline; }
.foot__legal { display: grid; align-content: start; gap: 10px; color: var(--ink-3); font-size: 13px; line-height: 1.55; }
.foot__legal a { display: inline-block; padding: 13px 3px; margin: -13px 0; }

/* ---------- mobile bar ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.mbar__b { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 8px; border: 1px solid var(--line-3); border-radius: 14px; background: #fff; color: var(--ink); font: 600 14.5px/1 var(--font); cursor: pointer; }
.mbar__b--main { flex: 1.35; border-color: var(--cobalt); background: var(--cobalt); color: #fff; }
@media (min-width: 900px) { .mbar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }

/* ---------- legal pages ---------- */
.doc { padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.doc h1 { margin-bottom: 8px; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.doc__meta { margin-bottom: 28px; color: var(--ink-3); font-size: 14px; }
.doc__demo { margin-bottom: 28px; padding: 14px 18px; border: 1.5px dashed var(--amber-line); border-radius: 16px; background: var(--amber-soft); color: var(--amber-ink); font-size: 14.5px; }
.doc h2 { margin: 36px 0 12px; font-size: 1.35rem; letter-spacing: -.02em; }
.doc p, .doc li { max-width: 72ch; color: var(--ink-2); line-height: 1.7; }
.doc ul { display: grid; gap: 8px; margin: 12px 0; padding-left: 22px; }
.doc__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; min-height: 44px; font-weight: 600; text-decoration: none; }

/* ---------- motion ---------- */
@keyframes dash { to { stroke-dashoffset: -24; } }
@keyframes pulse { 0% { transform: scale(.55); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes pulse-dot { 0%, 100% { box-shadow: 0 0 0 3px rgba(23, 178, 106, .25); } 50% { box-shadow: 0 0 0 7px rgba(23, 178, 106, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes flash { 0% { background: rgba(111, 227, 181, .55); } 100% { background: transparent; } }
@keyframes nodering { 0% { opacity: .75; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes popin { from { opacity: 0; transform: translateY(14px) scale(.7); } }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(360%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .strip__row.ml-marquee { flex-wrap: wrap; }
  .strip__row .ml-marquee__track { flex-wrap: wrap; gap: 14px 2.4rem; }
  .strip__row .ml-marquee__track[aria-hidden="true"] { display: none; }
}

#incOut::after { content: "\00a0\20BD"; }

/* лента демо: на планшете заметка не помещается рядом с кнопкой */
@media (max-width: 900px) { .nx-ribbon__note { display: none; } }

/* без JS интерактивные элементы навигатора скрыты */
html:not(.js) .stepper, html:not(.js) #sendMap, html:not(.js) .nav__sum .sum__small, html:not(.js) .docprog { display: none; }
