/* Partneroom — публічна посадкова (пакет P6, ARCHITECTURE.md §7).
   Токени й базові компоненти — з core/css/app.css. Тут лише сторінки сайту.
   Один акцент (зелений), теракота — лише для «хід партнера». Без градієнтів, glassmorphism, емодзі.
   Брейкпоінти 768 і 1100 px. Нижче 768 px форма листа очікування відкривається на весь екран. */

.lp { --lp-gap: 64px; --lp-pad: 120px; --lp-ink-2: #C9CEC9; --lp-ink-3: #9AA39E; --lp-ink-line: #333C39; }
.lp .container { width: min(1180px, 100% - 32px); }
.lp .site-header__nav { gap: 6px; }
.lp-navlink { display: inline-flex; align-items: center; height: 32px; padding: 0 10px; border-radius: var(--r-s);
  color: var(--ink-2); font-weight: 550; font-size: 14px; }
.lp-navlink:hover { background: var(--sunk); color: var(--ink); text-decoration: none; }
[id] { scroll-margin-top: 72px; }

.lp-btn-xl { height: 50px; padding: 0 24px; font-size: 16px; border-radius: 10px; }
.lp-btn-l { height: 44px; font-size: 15px; border-radius: 9px; }

/* --- Заголовки секцій ------------------------------------------------------------------------- */
.lp-section { padding: var(--lp-pad) 0; }
.lp-section--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-head { max-width: 760px; margin-bottom: 56px; }
.lp-head--row { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--lp-gap);
  align-items: end; }
.lp-head--row .lp-lead { margin-top: 0; }
.lp-h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.032em; font-weight: 740; }
.lp-lead { margin-top: 18px; font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 58ch; }

/* --- 1. Герой ----------------------------------------------------------------------------------- */
.lp-hero { min-height: calc(100vh - 61px); display: flex; align-items: center; padding: 48px 0 56px; }
.lp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.lp-hero__title { font-size: clamp(36px, 3.4vw, 49px); line-height: 1.06; letter-spacing: -0.036em; font-weight: 760;
  text-wrap: balance; }
.lp-hero__lead { margin-top: 18px; font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.lp-hero__cta { display: none; }
.lp-hero__cta-note { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }

/* Панель листа очікування */
.lp-panel { margin-top: 30px; max-width: 580px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-2); padding: 20px 22px 18px; }
.lp-panel.is-flash { animation: lp-flash 1.1s var(--ease); }
@keyframes lp-flash { 0% { box-shadow: var(--shadow-2), 0 0 0 0 var(--acc-t); }
  25% { box-shadow: var(--shadow-2), 0 0 0 6px var(--acc-t); } 100% { box-shadow: var(--shadow-2), 0 0 0 0 var(--acc-t); } }
.lp-panel__top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s3); }
.lp-panel__title { font-size: 16px; font-weight: 720; letter-spacing: -0.01em; }
.lp-panel__sub { margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.lp-panel__close { display: none; }
.lp-panel > .form-error { margin-top: 12px; }

.lp-form { margin-top: 14px; display: flex; flex-direction: column; gap: 14px; }
.lp-form .field + .field { margin-top: 0; }
.lp-form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.lp-form .field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) { height: 44px; padding: 0 12px;
  font-size: 15px; border-radius: 8px; }
.lp-form__note { margin-top: -4px; font-size: 12.5px; color: var(--muted); text-align: center; }
.lp-form .form-error { margin-bottom: 2px; }

.lp-chips { border: 0; padding: 0; margin: 0; min-width: 0; }
.lp-chips legend { padding: 0; margin-bottom: 6px; }
.lp-chips__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.lp-chip { position: relative; display: block; cursor: pointer; }
.lp-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.lp-chip span { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 8px;
  border: 1px solid var(--line-2); background: var(--paper); color: var(--ink-2); font-weight: 600; font-size: 14px;
  font-variant-numeric: tabular-nums; user-select: none;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.lp-chip:hover span { border-color: #BFB6A5; background: #FBF9F4; }
.lp-chip input:checked + span { border-color: var(--acc); background: var(--acc-t2); color: var(--acc-dark);
  box-shadow: inset 0 0 0 1px var(--acc); }
.lp-chip input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.lp-chips.has-error .lp-chip span { border-color: var(--danger); }

.lp-consent .check { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.lp-consent .check a { white-space: nowrap; }

.lp-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.lp-done { margin-top: 14px; padding: 22px 4px 6px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  outline: none; }
.lp-done__icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--acc-t); color: var(--acc-dark); }
.lp-done__title { font-size: 20px; font-weight: 720; letter-spacing: -0.02em; margin-top: 4px; }
.lp-done__text { color: var(--ink-2); max-width: 46ch; }
.lp-done__actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: 10px; }
.lp-done__close { display: none; }

/* --- Ілюстрації інтерфейсу ---------------------------------------------------------------------- */
.lp-visual { margin: 0; }
.lp-visual__stage { position: relative; padding: 0 0 150px; }
.lp-visual__cap { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

.tg { width: 100%; max-width: 440px; background: #E9E5DA; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-2); overflow: hidden; }
.tg--wide { max-width: 480px; }
.tg__bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--paper);
  border-bottom: 1px solid var(--line); }
.tg__avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--c6); color: #FCFBF8; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.tg__head { display: flex; flex-direction: column; min-width: 0; }
.tg__title { font-weight: 650; font-size: 14px; line-height: 1.25; }
.tg__meta { font-size: 12px; color: var(--muted); }
.tg__feed { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 16px; }
.tg-msg { position: relative; display: flex; flex-direction: column; gap: 2px; max-width: 86%; padding: 7px 10px 6px;
  border-radius: 13px; background: var(--paper); box-shadow: 0 1px 1px rgba(28,35,33,.09); font-size: 13.5px;
  line-height: 1.42; color: var(--ink); }
.tg-msg--in { align-self: flex-start; border-bottom-left-radius: 4px; }
.tg-msg--out { align-self: flex-end; background: #DDEDE4; border-bottom-right-radius: 4px; }
.tg-msg--bot { align-self: stretch; max-width: none; border-bottom-left-radius: 4px; }
.tg-msg--short { align-self: flex-start; max-width: 86%; }
.tg-msg__name { font-size: 12.5px; font-weight: 700; }
.tg-msg__name--them { color: var(--terra-ink); }
.tg-msg__name--bot { color: var(--c6); }
.tg-msg__text--muted { color: var(--muted); font-size: 12.5px; }
.tg-msg__quote { display: block; margin: 1px 0 2px; padding: 2px 0 2px 8px; border-left: 2px solid var(--acc);
  font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-msg__quote b { display: block; color: var(--acc-dark); font-weight: 650; }
.tg-msg__time { align-self: flex-end; margin-top: -2px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tg-cmd { color: var(--c6); font-weight: 600; }
.tg-bot { display: flex; flex-direction: column; gap: 4px; }
.tg-kb { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.tg-kb span { display: grid; place-items: center; min-height: 34px; padding: 4px 8px; border-radius: 9px;
  background: rgba(252,251,248,.62); color: var(--ink-2); font-size: 13px; font-weight: 600; text-align: center;
  box-shadow: 0 1px 1px rgba(28,35,33,.06); }
.tg-kb span.is-pressed { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--terra); }
.tg-kb__wide, .tg-kb--one span { grid-column: 1 / -1; }
.tg-file { display: flex; align-items: center; gap: 8px; margin: 5px 0 1px; padding: 7px 9px; border-radius: 9px;
  background: var(--sunk); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.tg-file small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; }

/* Картка задачі в кабінеті */
.lp-cab { position: absolute; right: 0; bottom: 0; width: min(330px, 78%); padding: 14px 16px 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-3); }
.lp-cab__head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); min-width: 0; }
.lp-cab__code { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); font-weight: 600; }
.lp-cab__type { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-cab__src { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 0 7px; height: 20px;
  border-radius: 999px; background: var(--sunk); color: var(--ink-2); font-size: 11.5px; font-weight: 600; flex: none; }
.lp-cab__title { margin-top: 5px; font-size: 15.5px; font-weight: 680; letter-spacing: -0.01em; }
.lp-cab__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.lp-cab__due { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--ink-2);
  font-variant-numeric: tabular-nums; }
.lp-cab__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px;
  padding-top: 12px; border-top: 1px solid var(--line); }
.lp-cab__who { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-2); min-width: 0; }
.lp-cab__btn { display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border-radius: var(--r-s);
  background: var(--acc); color: #FCFBF8; font-size: 12.5px; font-weight: 650; white-space: nowrap; }

/* Список задач */
.lp-board { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-2);
  overflow: hidden; }
.lp-board__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px;
  background: var(--paper); border-bottom: 1px solid var(--line); }
.lp-board__title { font-weight: 700; font-size: 15px; }
.lp-board__tabs { display: inline-flex; gap: 4px; padding: 2px; border-radius: var(--r-s); background: var(--sunk);
  font-size: 12.5px; color: var(--ink-2); font-weight: 550; }
.lp-board__tabs span { padding: 3px 8px; border-radius: 5px; white-space: nowrap; }
.lp-board__tabs .is-on { background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.lp-board__row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 118px 74px 46px; gap: 12px; align-items: center;
  padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--paper); font-size: 13px; }
.lp-board__row:last-child { border-bottom: 0; }
.lp-board__row--head { background: #FAF8F3; padding-top: 8px; padding-bottom: 8px; font-size: 12px; color: var(--muted);
  font-weight: 600; }
.lp-board__code { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.lp-board__task { display: flex; flex-direction: column; min-width: 0; }
.lp-board__task b { font-weight: 620; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-board__task small, .lp-board__stage small { font-size: 12px; color: var(--muted); }
.lp-board__stage { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lp-board__stage .stage-dot { width: 8px; height: 8px; }
.lp-board__stage .stage-dot + .stage-dot { margin-left: 8px; }
.lp-board__stage .stage-dot + .stage-dot::before { width: 8px; right: 8px; top: 3.25px; }
.lp-board__due { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.lp-board__due--late { color: var(--danger); font-weight: 650; }
.lp-board .turn { height: 20px; font-size: 12px; padding: 0 8px; }

/* --- 2. Як працює ------------------------------------------------------------------------------------ */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px; position: relative; }
.lp-steps::before { content: ""; position: absolute; left: 22px; right: calc((100% - 80px) / 3); top: 22px; height: 1px;
  background: var(--line-2); }
.lp-step { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.lp-step__num { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line-2); color: var(--acc-dark); font-weight: 720; font-size: 17px;
  font-variant-numeric: tabular-nums; box-shadow: 0 0 0 8px var(--bg); }
.lp-step__title { margin-top: 22px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.lp-step__text { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; max-width: 34ch; }
.lp-step__chip { margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px;
  border-radius: 8px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); font-size: 13px;
  font-weight: 600; box-shadow: var(--shadow-1); }
.lp-step__chip .icon { color: var(--acc); }
.lp-step__chip--mono { font-family: var(--mono); font-size: 12.5px; }

/* --- 3–4. Текст + ілюстрація ------------------------------------------------------------------------------- */
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--lp-gap); align-items: center; }
.lp-split--reverse .lp-split__visual { order: -1; }
.lp-split--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); }

.lp-features { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-direction: column; }
.lp-feature { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.lp-feature:last-child { border-bottom: 1px solid var(--line); }
.lp-feature__icon { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: var(--acc-t2); color: var(--acc-dark); box-shadow: inset 0 0 0 1px #D3E5DD; }
.lp-feature__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lp-feature__title { font-weight: 680; font-size: 15.5px; color: var(--ink); }
.lp-feature__text { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }

.lp-points { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.lp-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.lp-points .icon { margin-top: 3px; color: var(--acc); }
.lp-points__strong { padding: 14px 16px; margin-top: 4px; border-radius: 10px; background: var(--terra-t);
  color: var(--terra-ink) !important; font-weight: 650; }
.lp-points__strong .icon { color: var(--terra-ink); }

/* --- 5. Чесно про дані (темна смуга) --------------------------------------------------------------------- */
.lp-section--ink { background: var(--ink); color: #EDEBE5; }
.lp-section--ink .lp-h2 { color: #FCFBF8; }
.lp-section--ink .lp-lead { color: var(--lp-ink-2); }
.lp-sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lp-side { padding: 24px 26px; border-radius: 14px; border: 1px solid var(--lp-ink-line); background: #222A28; }
.lp-side--private { background: #263330; border-color: #35504A; }
.lp-side__title { display: flex; align-items: center; gap: 8px; color: #FCFBF8; font-size: 17px; font-weight: 700; }
.lp-side--private .lp-side__title .icon { color: #8FC7B4; }
.lp-side__list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; }
.lp-side__list li { padding: 10px 0; border-top: 1px solid var(--lp-ink-line); color: #E2E0D9; font-size: 15.5px; }
.lp-side--private .lp-side__list li { border-top-color: #35504A; }
.lp-facts { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 40px; }
.lp-facts li { position: relative; padding-left: 20px; color: var(--lp-ink-2); font-size: 15.5px; line-height: 1.6; }
.lp-facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px;
  background: #8FC7B4; }
.lp-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 32px; color: #A9D8C8; font-weight: 600; }
.lp-more:hover { color: #CFEBE1; }

/* --- 6. Ціни ---------------------------------------------------------------------------------------------- */
.lp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.lp-plan { display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: 14px; background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.lp-plan--featured { border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc), var(--shadow-2); }
.lp-plan__name { font-size: 18px; font-weight: 740; letter-spacing: -0.01em; }
.lp-plan--featured .lp-plan__name { color: var(--acc-dark); }
.lp-plan__for { margin-top: 4px; color: var(--muted); font-size: 14px; min-height: 2.9em; }
.lp-plan__price { display: flex; align-items: flex-end; gap: 10px; margin-top: 18px; }
.lp-plan__amount { font-size: 44px; line-height: .95; font-weight: 760; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.lp-plan__per { font-size: 13px; color: var(--muted); line-height: 1.3; padding-bottom: 3px; }
.lp-plan__list { list-style: none; margin: 22px 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.lp-plan__list li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.lp-plan__list .icon { margin-top: 2px; color: var(--acc); }
.lp-never-pays { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 18px 22px; border-radius: 14px;
  background: var(--terra-t); color: var(--terra-ink); font-size: 18px; font-weight: 680; letter-spacing: -0.01em; }
.lp-never-pays .icon { flex: none; }

/* --- 7. Питання ------------------------------------------------------------------------------------------- */
.lp-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--lp-gap); align-items: start; }
.lp-faq__head { position: sticky; top: 96px; }
.lp-faq__list { border-top: 1px solid var(--line); }
.lp-qa { border-bottom: 1px solid var(--line); }
.lp-qa__q { position: relative; display: block; list-style: none; cursor: pointer; padding: 20px 44px 20px 0;
  font-size: 17px; font-weight: 660; letter-spacing: -0.01em; color: var(--ink); }
.lp-qa__q::-webkit-details-marker { display: none; }
.lp-qa__q::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg);
  transition: transform var(--t) var(--ease); }
.lp-qa[open] .lp-qa__q::after { transform: rotate(-135deg); margin-top: -2px; }
.lp-qa__q:hover { color: var(--acc-dark); }
.lp-qa__q:focus-visible { outline-offset: 4px; }
.lp-qa__a { padding: 0 44px 22px 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; max-width: 66ch; }

/* --- 8. Фінальний заклик ---------------------------------------------------------------------------------- */
.lp-final { padding: 96px 0; }
.lp-final__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px 52px;
  border-radius: 18px; background: var(--acc-t2); border: 1px solid #D3E5DD; }
.lp-final__title { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 740;
  max-width: 30ch; }
.lp-final__text { margin-top: 10px; color: var(--ink-2); font-size: 17px; }
.lp-final .btn { flex: none; }

.lp-sticky { display: none; }

/* --- Окремі сторінки: лист очікування, підтвердження, документи ---------------------------------------- */
.lp-page { padding: 48px 0 96px; }
.lp-page__inner--narrow { max-width: 620px; }
.lp-back { display: inline-flex; align-items: center; gap: 2px; color: var(--muted); font-size: 14px; font-weight: 550; }
.lp-back:hover { color: var(--ink); text-decoration: none; }
.lp-panel--page { margin-top: 18px; }

.lp-result { margin-top: 18px; padding: 36px 32px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-2); }
.lp-result__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--acc-t);
  color: var(--acc-dark); }
.lp-result--bad .lp-result__icon { background: var(--warn-t); color: var(--warn); }
.lp-result__title { margin-top: 16px; font-size: 26px; font-weight: 740; letter-spacing: -0.025em; }
.lp-result__text { margin-top: 8px; color: var(--ink-2); font-size: 16px; max-width: 48ch; }
.lp-result__actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: var(--s2); }

/* Документи (doc_base.html): шапка і текст у правій колонці, зміст — ліворуч і липкий. Нижче 1100 px — одна колонка. */
.lp-doc__wrap { display: grid; grid-template-columns: 220px minmax(0, 760px); column-gap: 64px; justify-content: center; }
.lp-doc__head { grid-column: 2; grid-row: 1; }
.lp-doc__title { margin-top: 22px; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 740;
  text-wrap: balance; }
.lp-doc__meta { margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.lp-pilot { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: 10px;
  background: var(--info-t); border: 1px solid var(--line); color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.lp-pilot .icon { flex: none; margin-top: 2px; color: var(--info); }
.lp-pilot b { color: var(--ink); font-weight: 650; }
.lp-ph { padding: 0 4px; border-radius: 4px; background: var(--warn-t); color: var(--warn); font-weight: 600;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lp-doc__print-url { display: none; }

.lp-toc { grid-column: 1; grid-row: 2 / span 2; align-self: start; position: sticky; top: 84px; margin-top: 40px;
  max-height: calc(100vh - 108px); overflow-y: auto; font-size: 14px; }
.lp-toc__title { margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); }
.lp-toc__list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.lp-toc__list a { display: block; margin-left: -1px; padding: 5px 0 5px 14px; border-left: 2px solid transparent; color: var(--ink-2);
  line-height: 1.35; }
.lp-toc__list a:hover { color: var(--ink); border-left-color: var(--line-3); text-decoration: none; }

.lp-doc__body { grid-column: 2; grid-row: 2; margin-top: 36px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.lp-doc__body h2 { margin: 44px 0 12px; font-size: 21px; line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.lp-doc__body h3 { margin: 24px 0 8px; font-size: 16.5px; line-height: 1.35; font-weight: 680; color: var(--ink); }
.lp-doc__body :is(p, ul, ol, .lp-table) + :is(p, ul, ol, .lp-table) { margin-top: 12px; }
.lp-doc__body ul, .lp-doc__body ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.lp-doc__body li::marker { color: var(--muted); }
.lp-doc__body b { color: var(--ink); font-weight: 650; }
.lp-doc__body a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.lp-doc__body code { padding: 1px 5px; border-radius: 4px; background: var(--sunk); font-family: var(--mono); font-size: .88em;
  overflow-wrap: anywhere; }
.lp-doc__lead { font-size: 18px; line-height: 1.55; color: var(--ink); }

.lp-table { margin-top: 4px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); }
.lp-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.lp-table th { padding: 10px 14px; background: var(--sunk); color: var(--muted); font-size: 12.5px; font-weight: 650; text-align: left;
  vertical-align: bottom; }
.lp-table td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.lp-table td:first-child { color: var(--ink); font-weight: 560; }

.lp-doc__nav { grid-column: 2; grid-row: 3; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 56px; padding-top: 20px;
  border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }
.lp-doc__nav a[aria-current="page"], .lp .site-footer a[aria-current="page"] { color: var(--ink); text-decoration: underline;
  text-underline-offset: 4px; }

/* --- Адаптивність ------------------------------------------------------------------------------------------ */
@media (max-width: 1099px) {
  .lp { --lp-gap: 40px; --lp-pad: 88px; }
  .lp-navlink { display: none; }
  .lp-hero { min-height: 0; padding: 48px 0 72px; }
  .lp-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .lp-hero__title { max-width: 18ch; }
  .lp-hero__visual { max-width: 560px; }
  .lp-split, .lp-split--reverse { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .lp-split--reverse .lp-split__visual { order: 0; }
  .lp-head--row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .lp-head--row .lp-lead { margin-top: 18px; }
  .lp-faq { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .lp-faq__head { position: static; }
  .lp-steps { gap: 28px; }

  .lp-doc__wrap { display: block; max-width: 760px; }
  .lp-toc { position: static; max-height: none; overflow: visible; margin-top: 24px; padding: 14px 16px 10px;
    background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
  .lp-toc__list { border-left: 0; }
  .lp-toc__list a { margin-left: 0; padding: 6px 0; border-left: 0; }
  .lp-doc__body { margin-top: 28px; }
}

@media (max-width: 860px) {
  .lp-plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .lp-plan__for { min-height: 0; }
  .lp-final__inner { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
}

@media (max-width: 767px) {
  .lp { --lp-pad: 64px; }
  .lp .btn.lp-btn-xl { height: 52px; }
  .lp-header-cta { display: none; }
  .lp .brand__name { display: inline; }
  html.lp-locked .toasts { top: auto; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .lp-hero { padding: 28px 0 48px; }
  .lp-hero__grid { gap: 36px; }
  .lp-hero__title { font-size: 34px; line-height: 1.08; letter-spacing: -0.034em; }
  .lp-hero__lead { font-size: 17px; margin-top: 14px; }
  .lp-hero__cta { display: block; margin-top: 24px; }

  /* Форма — лише на весь екран */
  .lp-panel { display: none; }
  .lp-panel--page { display: block; padding: 18px 16px 16px; }
  .lp-panel.is-sheet, .lp-panel:target:not(.is-closed) {
    display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 110; margin: 0; max-width: none;
    border: 0; border-radius: 0; box-shadow: none; overflow-y: auto; overscroll-behavior: contain;
    padding: 14px 16px calc(24px + env(safe-area-inset-bottom)); animation: lp-sheet-in var(--t) var(--ease);
  }
  .lp-panel.is-sheet .lp-panel__close, .lp-panel:target .lp-panel__close { display: inline-flex; margin: -4px -8px 0 0; }
  .lp-panel.is-sheet .lp-panel__title, .lp-panel:target .lp-panel__title { font-size: 22px; letter-spacing: -0.02em; }
  .lp-panel.is-sheet .lp-done__close, .lp-panel:target .lp-done__close { display: inline-flex; }
  .lp-form__row { grid-template-columns: minmax(0, 1fr); }
  .lp-chips__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-chip span { height: 46px; font-size: 15px; }
  .lp-form .field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) { height: 48px; font-size: 16px; }
  .lp-consent .check { font-size: 14px; }
  .lp-consent .check input { width: 20px; height: 20px; }

  .lp-visual__stage { padding-bottom: 0; }
  .tg { max-width: none; }
  .lp-cab { position: relative; width: auto; margin: -28px 0 0 22px; }
  .lp-head { margin-bottom: 36px; }
  .lp-lead { font-size: 16.5px; }

  .lp-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .lp-steps::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 1px; height: auto; }
  .lp-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding-bottom: 28px; }
  .lp-step:last-child { padding-bottom: 0; }
  .lp-step__num { grid-row: span 3; }
  .lp-step__title { margin-top: 9px; font-size: 18px; }
  .lp-step__chip { justify-self: start; margin-top: 12px; }

  .lp-board__top { padding: 12px 14px; }
  .lp-board__tabs span:not(.is-on) { display: none; }
  .lp-board__row { grid-template-columns: 30px minmax(0, 1fr) auto 42px; gap: 10px; padding: 11px 14px; }
  .lp-board__row .lp-board__stage { display: none; }

  .lp-points li { font-size: 15.5px; }
  .lp-sides, .lp-facts { grid-template-columns: minmax(0, 1fr); }
  .lp-side { padding: 20px 18px; }
  .lp-plan { padding: 22px 18px 18px; }
  .lp-never-pays { font-size: 16px; padding: 16px; align-items: flex-start; }
  .lp-qa__q { font-size: 16px; padding: 18px 36px 18px 0; }
  .lp-qa__a { padding-right: 0; font-size: 15px; }
  .lp-final { padding: 56px 0 96px; }
  .lp-final__inner { padding: 28px 20px; }
  .lp-final .btn { width: 100%; }

  .lp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: block;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform var(--t) var(--ease); }
  .lp-sticky.is-on { transform: none; }
  .lp-sticky[hidden] { display: none !important; }

  .lp-page { padding: 24px 0 64px; }
  .lp-result { padding: 26px 18px; }
  .lp-doc__body { font-size: 15.5px; }
  .lp-doc__body h2 { margin-top: 36px; font-size: 19px; }
  .lp-doc__lead { font-size: 17px; }
  .lp-doc__nav { margin-top: 44px; }
}

/* Таблиці документів на телефоні: рядок — картка, підписи колонок з data-label (заголовок таблиці лишається для читачів екрана). */
@media screen and (max-width: 767px) {
  .lp-table table, .lp-table tbody, .lp-table tr, .lp-table td { display: block; width: auto; }
  .lp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lp-table tr { padding: 12px 14px; border-top: 1px solid var(--line); }
  .lp-table tr:first-child { border-top: 0; }
  .lp-table td { padding: 0; border-top: 0; }
  .lp-table td + td { margin-top: 6px; }
  .lp-table td + td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 12px; font-weight: 650; }
}

/* Друк документів: лише текст, без шапки, підвалу й навігації; зміст лишається як огляд. */
@media print {
  @page { margin: 18mm 16mm; }
  html, body, .lp { background: #fff !important; color: #000; }
  .site-header, .site-footer, .skip-link, .lp-back, .lp-doc__nav, .lp-sticky, .toasts { display: none !important; }
  .lp-page { padding: 0; }
  .lp .container.lp-doc__wrap { display: block; width: auto; max-width: none; }
  .lp-doc__title { font-size: 22pt; }
  .lp-pilot { background: none; border: 1px solid #999; color: #000; }
  .lp-pilot .icon { display: none; }
  .lp-ph { background: none; color: #000; border: 1px dashed #000; }
  .lp-doc__print-url { display: block; margin-top: 6px; color: #444; font-size: 9pt; }
  .lp-toc { position: static; max-height: none; overflow: visible; margin: 14px 0 0; padding: 0; background: none; border: 0;
    break-inside: avoid; }
  .lp-toc__list { border-left: 0; }
  .lp-toc__list a { margin: 0; padding: 1px 0; border: 0; color: #000; }
  .lp-doc__body { margin-top: 18px; color: #000; font-size: 10.5pt; line-height: 1.5; }
  .lp-doc__lead { font-size: 12pt; color: #000; }
  .lp-doc__body h2 { margin-top: 18pt; font-size: 13pt; break-after: avoid; }
  .lp-doc__body h3 { break-after: avoid; }
  .lp-doc__body a { color: #000; }
  .lp-table { border-color: #999; background: none; }
  .lp-table th { background: none; color: #000; }
  .lp-table tr { break-inside: avoid; }
}

html.lp-locked, html.lp-locked body { overflow: hidden; }
@keyframes lp-sheet-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
