/* ARBITRKELISIM, разбор долгов. Бумага, чернила и жёлтый маркер:
   жёлтым помечено только то, что найдено в отчёте человека. */

@font-face { font-family: Geologica; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/geologica-cyrillic-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: Geologica; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/geologica-cyrillic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Geologica; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/geologica-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Geologica; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/geologica-latin-wght-normal.woff2) format('woff2-variations');
  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 {
  --paper: #ffffff;
  --desk: #e7ebef;
  --desk-deep: #d6dde3;
  --ink: #0f1d2b;
  --ink-soft: #40505f;
  --rule: #cdd5dc;
  --marker: #ffd94a;
  --marker-soft: #fff4c2;
  --ok: #0a6b52;
  --ok-soft: #dcf0e8;
  --shade: 15 29 43;
  --r: 10px;
  --font: Geologica, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--desk); color: var(--ink); font: 400 17px/1.55 var(--font); font-optical-sizing: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
button, input, textarea, select { font: inherit; color: inherit; }
mark { color: inherit; background: linear-gradient(var(--marker), var(--marker)) no-repeat 0 62% / 100% 58%; padding: 0 .12em; margin: 0 -.12em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.band--ink :focus-visible, .foot :focus-visible { outline-color: var(--marker); }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ——— кнопки и ссылки ——— */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--r); border: 2px solid var(--ink); background: var(--ink); color: #fff; font-weight: 650; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, transform .15s; }
.btn:hover { background: #1d3246; border-color: #1d3246; }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 58px; padding: 0 28px; font-size: 18px; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--paper { background: #fff; color: var(--ink); border-color: #fff; }
.btn--paper:hover { background: var(--marker); border-color: var(--marker); color: var(--ink); }
.btn[disabled] { opacity: .55; cursor: progress; }
.link { background: none; border: 0; padding: 0; min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; cursor: pointer; }
.link:hover { text-decoration-thickness: 3px; text-decoration-color: var(--marker); }

/* ——— шапка ——— */
.top__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 18px; }
.brand { display: grid; text-decoration: none; }
.brand__name { font-weight: 800; letter-spacing: .04em; font-size: 18px; }
.brand__sub { font-size: 13px; color: var(--ink-soft); }
.top__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 15px; font-weight: 550; }
.top__nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.top__nav a:hover { text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 3px; }
.top__nav .btn { min-height: 44px; }

/* ——— первый экран ——— */
.hero { padding-block: clamp(20px, 4vw, 48px) clamp(48px, 7vw, 88px); overflow-x: clip; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
h1 { font-weight: 800; font-size: clamp(34px, 5.1vw, 62px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
h1 span { display: block; }
.lead { margin-top: 22px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; max-width: 34em; }
.facts { margin-top: 26px; display: grid; gap: 10px; font-size: 16px; }
.facts li { padding-left: 30px; position: relative; }
.facts li::before { content: ''; position: absolute; left: 5px; top: .32em; width: 18px; height: 10px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-45deg) scale(.8); transform-origin: left bottom; }

.desk { position: relative; background: var(--desk-deep); border-radius: 22px; padding: 26px 22px 22px; }
.desk.is-over { outline: 3px dashed var(--ink); outline-offset: 4px; }
.stack { position: relative; height: 292px; margin: 6px 0 22px; }
.page { position: absolute; inset: 0 13%; background: var(--paper); border-radius: 5px; box-shadow: 0 1px 0 rgb(var(--shade) / .1), 0 14px 26px -14px rgb(var(--shade) / .45); }
.page:not(.page--top) { background-image: repeating-linear-gradient(to bottom, transparent 0 11px, #dfe5ea 11px 13px); background-size: 72% 100%; background-position: 14% 22px; background-repeat: no-repeat; }
.page--4 { --fan: translate(-88px, 14px) rotate(-13deg); --rest: translate(-9px, 9px) rotate(-2.2deg); }
.page--3 { --fan: translate(80px, 18px) rotate(11deg); --rest: translate(8px, 7px) rotate(1.8deg); }
.page--2 { --fan: translate(-46px, -4px) rotate(-6deg); --rest: translate(-4px, 4px) rotate(-1deg); }
.page--1 { --fan: translate(44px, -2px) rotate(5deg); --rest: translate(3px, 2px) rotate(.7deg); }
.page:not(.page--top) { transform: var(--rest); }
.page--top { padding: 22px 24px; display: grid; align-content: start; gap: 9px; }
.mini__cap { font-size: 12px; font-weight: 650; color: var(--ink-soft); }
.mini__big { font-size: clamp(19px, 2vw, 23px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 6px; }
.mini__row { font-size: 15px; font-weight: 550; line-height: 1.3; }
.count { position: absolute; right: 4%; top: -10px; display: grid; background: var(--ink); color: #fff; font-size: 13px; font-weight: 650; padding: 6px 12px; border-radius: 99px; }
.count span { grid-area: 1 / 1; text-align: center; white-space: nowrap; }
.count__a { opacity: 0; }

.desk__panel { background: var(--paper); border-radius: 14px; padding: 20px; display: grid; gap: 8px; justify-items: start; }
.filebtn { position: relative; width: 100%; }
.filebtn input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.filebtn:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.desk__hint { font-size: 14.5px; color: var(--ink-soft); line-height: 1.4; }
.desk__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; font-size: 15px; }
.busy__title { font-weight: 750; font-size: 19px; }
.busy__bar { width: 100%; height: 14px; border-radius: 3px; background: var(--desk); overflow: hidden; }
.busy__bar span { display: block; height: 100%; width: 0; background: var(--marker); transition: width .25s ease-out; }

.dropveil { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; background: rgb(var(--shade) / .82); color: #fff; font-size: clamp(20px, 3vw, 30px); font-weight: 750; text-align: center; padding: 24px; pointer-events: none; }
.dropveil p { border: 3px dashed var(--marker); border-radius: 18px; padding: 36px 44px; }

/* единственная заставка: девяносто страниц складываются в одну */
@media (prefers-reduced-motion: no-preference) {
  .page:not(.page--top) { animation: pages 3.1s cubic-bezier(.5, 0, .2, 1) both; }
  .page--3 { animation-delay: .05s; } .page--2 { animation-delay: .1s; } .page--1 { animation-delay: .15s; }
  .page--top { animation: lift .55s .15s cubic-bezier(.2, .7, .2, 1) both; }
  .page--top > * { animation: ink .45s both; }
  .page--top > :nth-child(1) { animation-delay: 1.55s; }
  .page--top > :nth-child(2) { animation-delay: 1.7s; }
  .page--top > :nth-child(3) { animation-delay: 1.9s; }
  .page--top > :nth-child(4) { animation-delay: 2.05s; }
  .page--top > :nth-child(5) { animation-delay: 2.2s; }
  .page--top > :nth-child(6) { animation-delay: 2.35s; }
  .page--top mark { animation: stroke .5s cubic-bezier(.3, .6, .2, 1) both; }
  .page--top > :nth-child(3) mark { animation-delay: 2.5s; }
  .page--top > :nth-child(4) mark { animation-delay: 2.75s; }
  .count__a { animation: swap-out 3.1s both; }
  .count__b { animation: swap-in .4s 2.3s both; }
  .doc.is-fresh { animation: settle .5s cubic-bezier(.2, .7, .2, 1) both; }
  .doc.is-fresh mark { animation: stroke .6s .35s cubic-bezier(.3, .6, .2, 1) both; }
  .doc.is-fresh .split__a { animation: grow .7s .2s cubic-bezier(.3, .6, .2, 1) both; }
}
@keyframes pages { 0% { transform: none; opacity: 0; } 14% { opacity: 1; } 26%, 58% { transform: var(--fan); } 100% { transform: var(--rest); } }
@keyframes lift { from { transform: translateY(14px) scale(.97); opacity: 0; } }
@keyframes ink { from { opacity: 0; transform: translateY(5px); } }
@keyframes stroke { from { background-size: 0 58%; } }
@keyframes swap-out { 0%, 6% { opacity: 0; } 14%, 68% { opacity: 1; } 76%, 100% { opacity: 0; } }
@keyframes swap-in { from { opacity: 0; transform: translateY(4px); } }
@keyframes settle { from { opacity: 0; transform: translateY(18px); } }
@keyframes grow { from { flex-grow: 0; } }

/* ——— разделы лендинга ——— */
.band { padding-block: clamp(52px, 7vw, 92px); background: var(--paper); }
.band + .band { border-top: 1px solid var(--rule); }
.band--tight { background: var(--desk); border-top: 0; }
.band--ink { background: var(--ink); color: #fff; border-top: 0; }
h2 { font-size: clamp(27px, 3.3vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
h3 { font-size: 20px; font-weight: 750; letter-spacing: -.01em; line-height: 1.2; }
.trio { margin-top: 34px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trio__item { padding: 4px 28px; display: grid; gap: 10px; align-content: start; border-left: 1px solid var(--rule); }
.trio__item:first-child { padding-left: 0; border-left: 0; }
.trio__item p { color: var(--ink-soft); font-size: 16px; }
.trio__item .eg { color: var(--ink); font-weight: 600; font-size: 15px; margin-top: 4px; }
.why { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.why__list { display: grid; gap: 18px; font-size: 17px; line-height: 1.5; color: #d5dde4; }
.why__list strong { color: #fff; font-weight: 700; }
.why__list li { padding-left: 34px; position: relative; }
.why__list li::before { content: ''; position: absolute; left: 5px; top: .3em; width: 20px; height: 11px; border-left: 3px solid var(--marker); border-bottom: 3px solid var(--marker); transform: rotate(-45deg) scale(.8); transform-origin: left bottom; }
.team { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.say { margin-top: 22px; font-size: clamp(20px, 2.1vw, 26px); line-height: 1.38; font-weight: 500; letter-spacing: -.012em; }
.fine { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.say + .fine { margin-top: 18px; max-width: 44em; }
.help { background: var(--desk); border-radius: 18px; padding: 26px; display: grid; gap: 14px; }
.price { display: grid; gap: 8px; }
.price div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--rule); padding-bottom: 8px; }
.price dd { font-weight: 750; white-space: nowrap; }
.faq > * { max-width: 820px; }
.faq h2 { margin-bottom: 20px; }
details { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; padding: 16px 30px 16px 0; font-weight: 650; position: relative; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 24px; font-weight: 400; transition: transform .2s; }
details[open] > summary::after { transform: rotate(45deg); }
details p { padding: 0 0 18px; color: var(--ink-soft); max-width: 44em; }

.foot { background: var(--ink); color: #c9d3db; font-size: 14px; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-block: 26px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot a { color: #fff; display: inline-flex; align-items: center; min-height: 44px; }

/* ——— разбор: один лист ——— */
.result { padding-block: 8px clamp(48px, 7vw, 88px); }
.doc { background: var(--paper); border-radius: 6px; padding: clamp(22px, 5vw, 60px); max-width: 900px; margin-inline: auto; box-shadow: 0 1px 0 rgb(var(--shade) / .1), 0 30px 50px -30px rgb(var(--shade) / .5); outline: none; }
.doc__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; border-bottom: 3px solid var(--ink); padding-bottom: 14px; }
.doc__head h2 { font-size: clamp(24px, 3vw, 34px); }
.doc__meta { font-size: 14px; color: var(--ink-soft); }
.tag { display: inline-block; font-size: 13px; font-weight: 650; padding: 3px 10px; border-radius: 99px; background: var(--marker-soft); }
.sum { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px 40px; align-items: end; }
.sum__total { white-space: nowrap; font-size: clamp(34px, 5.4vw, 58px); font-weight: 800; letter-spacing: -.04em; line-height: .95; font-variant-numeric: tabular-nums; }
.sum__cap { font-size: 15px; color: var(--ink-soft); margin-top: 8px; }
.sum__facts { display: grid; gap: 7px; font-size: 16px; }
.sum__facts li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--rule); padding-bottom: 6px; }
.sum__facts b { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.split { margin-top: 22px; }
.split__bar { display: flex; height: 16px; border-radius: 3px; overflow: hidden; background: var(--desk); }
.split__a { background: var(--ink); flex: var(--a, 1) 1 0; }
.split__b { flex: var(--b, 0) 1 0; background: repeating-linear-gradient(-45deg, var(--ink) 0 3px, #8a97a3 3px 7px); }
.split__legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; margin-top: 8px; font-size: 14px; color: var(--ink-soft); }
.split__legend b { color: var(--ink); }
.doc h3 { margin-top: 40px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.doc h3 + p.note { margin-top: 6px; }
.note { font-size: 14.5px; color: var(--ink-soft); }

.finds { margin-top: 14px; display: grid; }
.find { padding: 14px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; }
.find__t { font-weight: 750; font-size: 17.5px; line-height: 1.3; }
.find p { color: var(--ink-soft); font-size: 16px; }
.find--good .find__t { color: var(--ok); }

.paths { margin-top: 14px; display: grid; }
.path { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 4px 18px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.path__t { font-weight: 750; font-size: 17.5px; line-height: 1.3; }
.path p { grid-column: 2; color: var(--ink-soft); font-size: 16px; }
.st { justify-self: start; font-size: 13.5px; font-weight: 700; padding: 4px 11px; border-radius: 6px; border: 2px solid var(--ink); white-space: nowrap; margin-top: 1px; }
.st--open { background: var(--ok); border-color: var(--ok); color: #fff; }
.st--closed { border-color: #8a97a3; color: #55626e; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.st--lawyer { background: var(--marker); border-color: var(--marker); }
.st--later { border-style: dashed; }

.steps { margin-top: 14px; counter-reset: s; display: grid; }
.step { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.step::before { content: counter(s); grid-row: span 3; font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.step__t { font-weight: 750; font-size: 17.5px; line-height: 1.3; }
.step p { color: var(--ink-soft); font-size: 16px; }
.step .link { min-height: 36px; font-size: 15px; justify-self: start; }

.tbl { margin-top: 14px; width: 100%; border-collapse: collapse; font-size: 15.5px; }
.tbl th { text-align: left; font-weight: 650; font-size: 13.5px; color: var(--ink-soft); padding: 6px 12px 8px 0; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.tbl td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tbl td:last-child, .tbl th:last-child { padding-right: 0; }
.tbl .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 650; }
.tbl small { display: block; color: var(--ink-soft); font-size: 13.5px; }

.budget { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
.budget__out { margin-top: 16px; padding: 18px 20px; background: var(--desk); border-radius: 12px; display: grid; gap: 8px; }
.budget__out ul { display: grid; gap: 4px; font-size: 15.5px; }
.budget__out li { display: flex; justify-content: space-between; gap: 16px; }
.budget__out li b { font-variant-numeric: tabular-nums; white-space: nowrap; }

.next { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.next__box { border: 2px solid var(--ink); border-radius: 14px; padding: 22px; display: grid; gap: 12px; align-content: start; }
.next__box--ink { background: var(--ink); color: #fff; }
.next__box h4 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.next__box p { font-size: 15.5px; color: var(--ink-soft); }
.next__box.next__box--ink p { color: #d5dde4; }
.next__box--ink .price div { border-color: #33485b; }
.next__box--ink .price { color: #fff; }
.next__acts { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.doc__foot { margin-top: 28px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

/* ——— формы и окна ——— */
.fld { display: grid; gap: 6px; margin-top: 14px; }
.fld > span, .fld legend { font-size: 14.5px; font-weight: 650; }
.fld em { font-style: normal; font-weight: 400; color: var(--ink-soft); }
.fld input:not([type=radio]):not([type=checkbox]), .fld textarea, .fld select { width: 100%; min-height: 50px; padding: 10px 14px; border: 2px solid #8794a0; border-radius: var(--r); background: #fff; }
.fld textarea { resize: vertical; min-height: 84px; }
.fld input:focus-visible, .fld textarea:focus-visible, .fld select:focus-visible { outline: 3px solid var(--marker); outline-offset: 0; border-color: var(--ink); }
.fld--row { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; }
.fld--row legend { width: 100%; margin-bottom: 4px; }
.fld--row label, .chk { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding-top: 10px; font-size: 15.5px; line-height: 1.4; cursor: pointer; }
input[type=radio], input[type=checkbox] { width: 22px; height: 22px; flex: none; accent-color: var(--ink); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { margin-top: 12px; padding: 10px 14px; border-radius: 8px; background: var(--marker-soft); font-weight: 600; font-size: 15px; }
.attach { margin-top: 10px; padding: 4px 16px 10px; background: var(--desk); border-radius: 12px; }
.attach details { border: 0; }
.attach summary { padding: 8px 30px 8px 0; font-size: 15px; }
.attach summary::after { top: 4px; }
.attach pre { margin: 0 0 8px; padding: 12px; background: #fff; border-radius: 8px; font: 13px/1.5 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-word; max-height: 200px; overflow: auto; }

.dlg { border: 0; padding: 0; overflow: auto; border-radius: 18px; width: min(560px, 100% - 24px); max-height: calc(100dvh - 24px); background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -30px rgb(var(--shade) / .7); }
.dlg::backdrop { background: rgb(var(--shade) / .6); }
.dlg__in { padding: 24px clamp(18px, 4vw, 30px) 26px; }
.dlg__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.dlg__head h2 { font-size: 26px; }
.dlg__lead { margin-top: 10px; color: var(--ink-soft); font-size: 16px; }
.dlg p + p, .dlg .chk + p { margin-top: 16px; }
.x { width: 44px; height: 44px; flex: none; border: 0; border-radius: 10px; background: var(--desk); font-size: 26px; line-height: 1; cursor: pointer; }
.x:hover { background: var(--marker); }
.mrow { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr) 44px; gap: 8px; align-items: end; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.mrow .fld { margin-top: 0; }
.mrow .fld > span { font-size: 13px; }
.mrow .x { height: 50px; }

/* ——— узкие экраны ——— */
@media (max-width: 880px) {
  .hero__in, .why, .team { grid-template-columns: minmax(0, 1fr); }
  .trio { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .trio__item { padding: 22px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .trio__item:first-child { border-top: 0; padding-top: 0; }
  .top__nav a { display: none; }
  .hero__in { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero__text { display: contents; }
  .hero h1 { order: 1; }
  .hero .lead { order: 2; }
  .hero .desk { order: 3; margin-top: 24px; display: flex; flex-direction: column; }
  .hero .facts { order: 4; }
  .hero .desk__panel { order: 1; }
  .hero .stack { order: 2; margin: 26px 0 8px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .stack { height: 236px; }
  .page { inset: 0 9%; }
  .page--4 { --fan: translate(-34px, 12px) rotate(-11deg); }
  .page--3 { --fan: translate(32px, 14px) rotate(9deg); }
  .page--2 { --fan: translate(-18px, -2px) rotate(-5deg); }
  .page--1 { --fan: translate(18px, 0) rotate(4deg); }
  .brand__sub { display: none; }
  .sum, .next { grid-template-columns: minmax(0, 1fr); }
  .path { grid-template-columns: minmax(0, 1fr); }
  .path p { grid-column: 1; }
  .budget { grid-template-columns: minmax(0, 1fr); }
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; }
  .tbl tr { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .tbl td { border: 0; padding: 2px 0; }
  .tbl .num { text-align: left; font-size: 18px; }
  .mrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mrow .fld:first-child { grid-column: 1 / -1; }
}

/* ——— печать: только лист разбора ——— */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 11.5pt; }
  .top, .hero, .band, .foot, .dlg, .dropveil, .noprint { display: none !important; }
  .result { padding: 0; }
  .wrap { width: 100%; }
  .doc { box-shadow: none; padding: 0; max-width: none; }
  .find, .path, .step, .tbl tr, .next__box { break-inside: avoid; }
  .next__box--ink { background: #fff; color: var(--ink); }
  .next__box.next__box--ink p { color: var(--ink-soft); }
  .next__box--ink .price { color: var(--ink); }
  mark, .st--lawyer, .st--open, .split__a, .split__b { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.next__box .link { color: var(--ink); }
