@font-face { font-family: "Inter"; src: url("inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
/* «Участки ниже рынка» для клиентов (STYLE.md проекта: Refero «Arcadia»): кремовый холст, белые листы с тонкой
   шалфейной рамкой вместо теней, тёмно-зелёный Canopy для главных кнопок и подвала, одна мятная кнопка на экран,
   фиолетовый только в графиках. Заголовки светлые (300), значения 500, жирный 700 — только короткие подписи капслоком.
   Шрифт Inter (запасной шрифт стиля: в DM Sans нет кириллицы). Только светлая тема. */
:root {
  color-scheme: light;
  --canopy: #104336;
  --canopy-hover: #0c3329;
  --mint-pulse: #0fff87;
  --mint-hover: #0de87b;
  --violet: #7c18d3;
  --ink: #000000;
  --bark: #101f1e;
  --charcoal: #333333;
  --slate: #535e5d;
  --muted-slate: #798281;
  --sage-mist: #afc4bf;
  --pale-sage: #c2cec8;
  --canvas: #f3f1ec;
  --paper: #ffffff;
  --wash: #e8e7f5;
  --leaf-wash: #e8f0ec;
  --hero-grad: linear-gradient(212.12deg, #afc4bf 14.83%, #e8e7f5 52.99%, #f1eee9 79.47%);
  --err: #9b2c1f;
  /* имена, на которые ссылается разметка app.js */
  --hair: var(--sage-mist);
  --ink-2: var(--slate);
  --lilac: var(--wash);
  --peach: var(--leaf-wash);
  --cloud: var(--canvas);
  --font: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --r-in: 4px;
  --r-btn: 8px;
  --r-card: 16px;
}
* { box-sizing: border-box; }
html, body { background: var(--canvas); }
body { margin: 0; font-family: var(--font); color: var(--bark); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; font-feature-settings: "cv11"; }
button, input, select, textarea { font: inherit; color: inherit; }
b, strong { font-weight: 500; }
a { color: var(--canopy); }
h1, h2, h3 { color: var(--ink); text-wrap: balance; margin: 0; font-weight: 300; letter-spacing: -0.02em; }
h3 { color: var(--bark); font-weight: 500; letter-spacing: 0; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--canopy); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.eyebrow, .quiz-step, .f-label, .fact span, .tile span, .hero-stats span, table.list th, .pp-tile span {
  font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.3;
}

.top { background: var(--paper); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; border-bottom: 1px solid var(--sage-mist); }
.top-in { max-width: 1280px; margin: 0 auto; padding-inline: 24px; height: 72px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; display: block; }
.nav { display: flex; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav a { text-decoration: none; color: var(--bark); font-weight: 400; font-size: 15px; padding: 8px 12px; border-radius: var(--r-btn); white-space: nowrap; }
.nav a:hover { color: var(--canopy); }
.nav a[aria-current="page"] { color: var(--canopy); font-weight: 500; background: var(--canvas); }
.who { flex: none; }
.wrap { max-width: 1280px; margin: 0 auto; padding-inline: 24px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: var(--r-btn); border: 1px solid var(--canopy); background: var(--canopy); color: #fff; font-weight: 500; font-size: 15px; line-height: 1.2; cursor: pointer; text-decoration: none; text-align: center; }
.btn:hover { background: var(--canopy-hover); border-color: var(--canopy-hover); }
.btn.mint { background: var(--mint-pulse); border-color: var(--mint-pulse); color: var(--bark); }
.btn.mint:hover { background: var(--mint-hover); border-color: var(--mint-hover); }
.btn.ghost { background: transparent; color: var(--canopy); border-color: var(--canopy); }
.btn.ghost:hover { background: var(--leaf-wash); }
.btn.light { background: var(--paper); color: var(--canopy); border-color: var(--paper); }
.btn.ghost.on-dark { color: #fff; border-color: #fff; }
.btn.ghost.on-dark:hover { background: rgba(255,255,255,.08); }
.btn.small { min-height: 36px; padding: 6px 16px; font-size: 14px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; color: var(--canopy); font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: var(--r-btn); padding: 4px 10px; font-size: 13px; font-weight: 500; line-height: 1.3; white-space: nowrap; background: var(--canvas); color: var(--bark); }
.chip svg { width: 14px; height: 14px; }
.c-mint { background: var(--canopy); color: var(--mint-pulse); }
.c-sage { background: var(--leaf-wash); color: var(--canopy); }
.c-sky, .c-lilac { background: var(--wash); color: var(--bark); }
.c-peach, .c-cream, .c-cloud { background: var(--paper); color: var(--bark); box-shadow: inset 0 0 0 1px var(--pale-sage); }

.card { background: var(--paper); border: 1px solid var(--sage-mist); border-radius: var(--r-card); padding: 32px; }
.card.sm { padding: 20px; }
.card.c-lilac, .card.c-peach { border-color: transparent; }
.muted { color: var(--muted-slate); }
.small { font-size: 14px; }
.cap { font-size: 13px; color: var(--slate); }
.sub { color: var(--slate); }

/* Главная: заголовок по центру на рассветной заливке, ниже — квиз как рабочая панель */
.hero { max-width: 1392px; margin: 24px auto 0; border-radius: var(--r-card); background: var(--canvas) var(--hero-grad); }
.hero-in { max-width: 1200px; margin: 0 auto; padding: 88px 24px 56px; display: grid; justify-items: center; gap: 48px; text-align: center; }
.hero h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.1; }
.hero h1 em { font-style: normal; }
.hero p.lead { color: var(--slate); font-size: 18px; max-width: 40em; margin: 20px auto 0; }
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 56px; margin-top: 40px; }
.hero-stats b { display: block; font-size: 36px; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; color: var(--bark); }
.hero-stats span { display: block; color: var(--slate); margin-top: 6px; }
.quiz { width: min(760px, 100%); background: var(--paper); color: var(--bark); border: 1px solid var(--sage-mist); border-radius: var(--r-card); padding: 32px 40px; text-align: left; }
.quiz-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.quiz-step { color: var(--canopy); }
.quiz h2 { font-size: 28px; margin: 20px 0 20px; }
.bar { height: 4px; background: var(--leaf-wash); border-radius: 2px; overflow: hidden; margin-top: 12px; }
.bar i { display: block; height: 100%; background: var(--canopy); border-radius: 2px; transition: width .25s; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { text-align: left; border: 1px solid var(--pale-sage); background: var(--paper); border-radius: var(--r-btn); padding: 16px 18px; cursor: pointer; font-weight: 500; font-size: 16px; }
.opt small { display: block; font-weight: 400; color: var(--slate); font-size: 13px; margin-top: 2px; }
.opt:hover { border-color: var(--canopy); }
.opt[aria-pressed="true"] { border-color: var(--canopy); background: var(--leaf-wash); }
.hw-grid { display: flex; flex-wrap: wrap; gap: 8px; max-height: 260px; overflow-y: auto; padding: 2px; }
.hw { border: 1px solid var(--pale-sage); background: var(--paper); border-radius: var(--r-btn); padding: 7px 12px; font-size: 14px; cursor: pointer; }
.hw:hover { border-color: var(--canopy); }
.hw[aria-pressed="true"] { border-color: var(--canopy); background: var(--leaf-wash); font-weight: 500; }
.quiz-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--pale-sage); flex-wrap: wrap; }
.found { font-size: 14px; color: var(--slate); }
.found b { font-size: 24px; font-weight: 500; color: var(--bark); }

.band { padding-block: 96px; }
.band h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; }
.band .sub { margin: 16px 0 0; max-width: 46em; font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.step { background: var(--paper); border: 1px solid var(--sage-mist); border-radius: var(--r-card); padding: 32px; color: var(--slate); }
.step b { display: block; font-size: 20px; color: var(--bark); margin-bottom: 10px; }
.clean { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.clean .card { padding: 28px; }
.clean .card b { display: block; font-size: 36px; font-weight: 500; color: var(--bark); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 8px; }
.clean .card span { color: var(--slate); font-size: 15px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; }
.split .card { padding: 40px; }

/* База */
.base { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; padding-block: 40px 96px; align-items: start; }
.filters { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 88px); max-height: calc(100vh - 108px); overflow-y: auto; padding: 24px; }
.filters h3 { font-size: 20px; }
.f-group { border-top: 1px solid var(--pale-sage); padding-block: 16px; }
.f-group:first-of-type, .f-close + .f-group { border-top: 0; }
.f-label { color: var(--slate); margin-bottom: 10px; display: flex; justify-content: space-between; gap: 8px; }
.f-label .num, .f-label b { text-transform: none; letter-spacing: 0; color: var(--bark); }
.f-row { display: flex; gap: 8px; align-items: center; }
.f-row > * { min-width: 0; flex: 1; }
input[type="number"], input[type="text"], input[type="tel"], input[type="password"], select, textarea { width: 100%; min-height: 44px; border: 1px solid var(--pale-sage); border-radius: var(--r-in); background: var(--paper); padding: 10px 12px; font-size: 15px; }
input:focus, select:focus, textarea:focus { border-color: var(--canopy); outline: none; box-shadow: 0 0 0 1px var(--canopy); }
textarea { min-height: 88px; resize: vertical; }
input[type="range"] { width: 100%; accent-color: var(--canopy); }
.checks { display: flex; flex-wrap: wrap; gap: 6px; }
.tog { border: 1px solid var(--pale-sage); background: var(--paper); border-radius: var(--r-btn); padding: 6px 12px; font-size: 14px; cursor: pointer; }
.tog:hover { border-color: var(--canopy); }
.tog[aria-pressed="true"] { border-color: var(--canopy); background: var(--leaf-wash); font-weight: 500; }
.res-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.res-head h1 { font-size: 40px; line-height: 1.15; }
.res-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.res-tools select { width: auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.lot { background: var(--paper); border: 1px solid var(--sage-mist); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.lot:hover { border-color: var(--canopy); }
.lot-top { display: flex; align-items: center; gap: 6px; }
.lot-top .sp { flex: 1; }
.lot h3 { font-size: 18px; color: var(--bark); font-weight: 500; }
.lot .where { font-size: 14px; color: var(--slate); }
.lot .price { font-size: 24px; font-weight: 500; color: var(--bark); letter-spacing: -0.01em; }
.lot .pps { font-size: 13px; color: var(--slate); }
.poi-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.heart { width: 36px; height: 36px; border-radius: var(--r-btn); border: 1px solid var(--pale-sage); background: var(--paper); display: inline-grid; place-items: center; cursor: pointer; flex: none; }
.heart:hover { border-color: var(--canopy); }
.heart svg { width: 18px; height: 18px; fill: none; stroke: var(--bark); stroke-width: 1.8; }
.heart[aria-pressed="true"] { background: var(--mint-pulse); border-color: var(--mint-pulse); }
.heart[aria-pressed="true"] svg { fill: var(--bark); stroke: var(--bark); }
.more { display: flex; justify-content: center; margin-top: 32px; }
.empty { padding: 40px; text-align: center; }
.filter-open { display: none; }
.f-close { display: none; }

/* Карточка участка */
.detail { padding-block: 40px 96px; }
.back { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; text-decoration: none; margin-bottom: 20px; }
.d-head { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.d-head h1 { font-size: 40px; line-height: 1.15; }
.d-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.d-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; margin-top: 32px; align-items: start; }
.d-main { display: grid; gap: 24px; min-width: 0; }
.d-side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 88px); display: grid; gap: 16px; }
.d-price { font-size: 36px; font-weight: 500; color: var(--bark); letter-spacing: -0.02em; line-height: 1.15; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 20px; }
.fact { background: var(--canvas); border-radius: var(--r-btn); padding: 14px 16px; }
.fact span { display: block; color: var(--slate); margin-bottom: 4px; }
.fact b { font-size: 18px; }
.disc-box h2, .card h2 { font-size: 28px; line-height: 1.2; }
.disc-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.disc-big b { font-size: 48px; font-weight: 300; color: var(--canopy); letter-spacing: -0.02em; line-height: 1.1; }
.dots { position: relative; margin: 24px 8px 8px; }
.dots .axis { position: absolute; left: 0; right: 0; height: 1px; background: var(--sage-mist); }
.dots .dot { position: absolute; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--violet); opacity: .75; }
.dots .dot.me { width: 22px; height: 22px; margin-left: -11px; background: var(--mint-pulse); border: 3px solid var(--canopy); opacity: 1; }
.dots .med { position: absolute; top: 18px; bottom: 26px; border-left: 1px dashed var(--canopy); }
.dots .lbl { position: absolute; font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap; transform: translateX(-50%); }
.dots .lbl.med-l { top: 0; color: var(--canopy); }
.dots .lbl.me-l { bottom: 0; color: var(--bark); }
.dots .band-me { position: absolute; height: 16px; min-width: 16px; border-radius: 8px; background: var(--mint-pulse); border: 1px solid var(--canopy); }
.median-note { background: var(--wash); color: var(--bark); border-radius: var(--r-btn); padding: 16px 18px; margin-top: 20px; font-size: 15px; }
.median-note b { color: var(--bark); }
.comps { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 14px; }
.comps th { text-align: left; font-size: 13px; font-weight: 500; color: var(--slate); padding: 8px 8px 8px 0; border-bottom: 1px solid var(--sage-mist); }
.comps td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--pale-sage); }
.comps tr.me td { font-weight: 500; color: var(--canopy); }
.tbl { overflow-x: auto; }
.near-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin-top: 16px; }
.near { display: flex; justify-content: space-between; gap: 8px; border-radius: var(--r-btn); padding: 10px 14px; background: var(--canvas); }
.near span:last-child, .comps td.num { white-space: nowrap; }
.near.walk { background: var(--leaf-wash); color: var(--canopy); font-weight: 500; }
.near.far { color: var(--muted-slate); }
.net-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cta-card { display: grid; gap: 10px; }
.checked { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--canopy); background: var(--leaf-wash); border-radius: var(--r-btn); padding: 10px 12px; }
.svc-mini { display: grid; gap: 8px; margin-top: 16px; }
.svc-mini button { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-align: left; width: 100%; background: var(--canvas); border: 1px solid transparent; border-radius: var(--r-btn); padding: 12px 14px; cursor: pointer; font-weight: 500; }
.svc-mini button:hover { border-color: var(--canopy); background: var(--paper); }

/* Услуги */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }
.svc { background: var(--paper); border: 1px solid var(--sage-mist); border-radius: var(--r-card); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.svc h3 { font-size: 20px; }
.svc p { margin: 0; color: var(--slate); flex: 1; }

/* Партнёрам: герой с панелью базы на живых цифрах, выгоды риэлторам и строителям, путь от ссылки до выплаты
   (сеть «сфер» на пунктире из стиля), закрепление на тёмном Canopy и последний призыв на рассветной заливке */
.eyebrow { font-size: 13px; color: var(--canopy); margin: 0 0 12px; }
.pp-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.pp-dash { width: min(1040px, 100%); background: var(--paper); border: 1px solid var(--sage-mist); border-radius: var(--r-card); padding: 32px; text-align: left; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px 40px; }
.pp-dash-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--pale-sage); }
.pp-dash-head h2 { font-size: 20px; font-weight: 500; letter-spacing: 0; color: var(--bark); }
.pp-live { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--slate); }
.pp-live i { width: 10px; height: 10px; border-radius: 50%; background: var(--mint-pulse); outline: 3px solid rgba(15, 255, 135, .25); }
.pp-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.pp-tile { background: var(--canvas); border-radius: var(--r-btn); padding: 20px; min-height: 124px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.pp-tile span { color: var(--slate); }
.pp-tile b { font-size: 36px; font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; color: var(--bark); }
.pp-dash.solo { grid-template-columns: minmax(0, 1fr); }
.pp-dash.solo .pp-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pp-chart .eyebrow { margin-bottom: 18px; }
.pp-bars { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; gap: 13px 16px; align-items: center; font-size: 14px; }
.pp-bar { display: contents; }
.pp-bar .track { height: 10px; border-radius: 5px; background: var(--canvas); overflow: hidden; }
.pp-bar i { display: block; height: 100%; border-radius: 5px; background: var(--canopy); }
.pp-bar b { text-align: right; font-weight: 500; }
.pp-bar .sk { display: block; height: 10px; width: 112px; border-radius: 5px; background: var(--canvas); }
.pp-lead { text-wrap: balance; }
.pp-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.pp-role { border-radius: var(--r-card); padding: 40px; background: var(--wash); }
.pp-role.builder { background: var(--leaf-wash); }
.pp-role h3 { font-size: 28px; font-weight: 300; letter-spacing: -0.01em; line-height: 1.2; color: var(--ink); }
.pp-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.pp-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start; }
.pp-list svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--canopy); color: var(--mint-pulse); }
.pp-white { background: var(--paper); border-block: 1px solid var(--sage-mist); }
.pp-center { text-align: center; }
.pp-flow { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pp-flow li { position: relative; display: grid; justify-items: center; align-content: start; gap: 16px; text-align: center; }
.pp-flow li:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: calc(50% + 36px); width: calc(100% - 48px); border-top: 2px dotted var(--sage-mist); }
.orb { width: 48px; height: 48px; border-radius: 50%; }
.o-mint { background: radial-gradient(circle at 34% 30%, #d9ffec 0, var(--mint-pulse) 48%, #0bd673 100%); }
.o-lav { background: radial-gradient(circle at 34% 30%, #ffffff 0, var(--wash) 50%, #c9c5ea 100%); }
.o-violet { background: radial-gradient(circle at 34% 30%, #d6b3f5 0, var(--violet) 55%, #5a0f9c 100%); }
.o-canopy { background: radial-gradient(circle at 34% 30%, #5d9583 0, var(--canopy) 60%, #0a2d24 100%); }
.pp-flow .tag { font-size: 13px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.2; color: var(--bark); background: var(--paper); border: 1px solid var(--sage-mist); border-radius: var(--r-btn); padding: 6px 12px; }
.pp-flow p { margin: 0; color: var(--slate); max-width: 26ch; }
.pp-track { margin-top: 64px; background: var(--canvas); border-radius: var(--r-card); padding: 28px 32px 32px; }
.pp-track .eyebrow { margin-bottom: 18px; }
.pp-stages { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.pp-stages i { display: block; height: 6px; border-radius: 3px; background: var(--canopy); }
.pp-stages div:last-child i { background: var(--mint-pulse); }
.pp-stages span { display: block; margin-top: 10px; font-size: 14px; }
.pp-guard { background: var(--canopy); color: #fff; border-radius: var(--r-card); padding: 56px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 56px; align-items: center; }
.pp-guard .eyebrow { color: var(--mint-pulse); }
.band .pp-guard h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; }
.pp-rule { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(175, 196, 191, .3); }
.pp-rule:last-child { border-bottom: 1px solid rgba(175, 196, 191, .3); }
.pp-rule span { font-size: 17px; }
.pp-rule b { flex: none; font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap; color: var(--mint-pulse); background: rgba(15, 255, 135, .1); border: 1px solid transparent; border-radius: var(--r-btn); padding: 6px 12px; }
.pp-rule b.off { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .4); }
.pp-guard-note { grid-column: 1 / -1; margin: 0; display: flex; gap: 12px; align-items: flex-start; color: var(--pale-sage); font-size: 15px; }
.pp-guard-note svg { flex: none; color: var(--mint-pulse); margin-top: 1px; }
.pp-final { max-width: 1392px; margin: 0 auto 24px; border-radius: var(--r-card); background: var(--canvas) var(--hero-grad); }
.pp-final-in { max-width: 1200px; margin: 0 auto; padding: 96px 24px; text-align: center; }
.pp-final h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.1; }
.pp-final p.lead { color: var(--slate); font-size: 18px; margin: 16px auto 0; max-width: 40em; }
.p-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.p-head h1 { font-size: 40px; line-height: 1.15; }
.ref { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.ref code { font-family: var(--font); font-weight: 500; background: var(--canvas); border-radius: var(--r-btn); padding: 12px 14px; overflow-wrap: anywhere; }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.tile { background: var(--paper); border: 1px solid var(--sage-mist); border-radius: var(--r-card); padding: 20px; }
.tile b { display: block; font-size: 30px; font-weight: 500; color: var(--bark); letter-spacing: -0.02em; }
.tile span { color: var(--slate); }
table.list { width: 100%; border-collapse: collapse; font-size: 14px; }
table.list th { text-align: left; color: var(--slate); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--sage-mist); white-space: nowrap; }
table.list td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--pale-sage); vertical-align: top; }
.stages { display: flex; gap: 4px; margin-top: 6px; }
.stages i { width: 18px; height: 4px; border-radius: 2px; background: var(--leaf-wash); }
.stages i.on { background: var(--canopy); }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 20px; }
.tab { border: 1px solid transparent; background: transparent; border-radius: var(--r-btn); padding: 8px 16px; font-weight: 500; cursor: pointer; color: var(--slate); }
.tab:hover { color: var(--canopy); }
.tab[aria-selected="true"] { background: var(--paper); border-color: var(--sage-mist); color: var(--canopy); }
.reasons { display: grid; gap: 8px; margin-top: 16px; }
.reason { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; align-items: center; }
.reason .bar2 { height: 8px; background: var(--canvas); border-radius: 4px; overflow: hidden; }
.reason .bar2 i { display: block; height: 100%; background: var(--violet); opacity: .7; }
.reason .txt { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }

/* Окна */
.scrim { position: fixed; inset: 0; background: rgba(16, 67, 54, .5); z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal { background: var(--paper); border: 1px solid var(--sage-mist); border-radius: var(--r-card); padding: 32px; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; }
.modal h2 { font-size: 28px; line-height: 1.2; }
.modal form { display: grid; gap: 16px; margin-top: 20px; }
.modal label.fld { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--slate); }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--slate); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--canopy); flex: none; }
.m-foot { display: flex; gap: 12px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.m-foot .link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; }
.m-foot .link:first-child { margin-right: auto; padding-left: 0; }
.gate-foot { justify-content: flex-start; margin-top: 24px; }
.invited { background: var(--wash); color: var(--bark); border-radius: var(--r-btn); padding: 12px 14px; font-size: 14px; }
.ok-state { display: grid; gap: 12px; margin-top: 12px; }
.err { color: var(--err); font-size: 14px; }

.chat { position: fixed; right: 16px; bottom: 16px; width: min(400px, calc(100vw - 32px)); height: min(560px, calc(100vh - 32px)); background: var(--paper); border-radius: var(--r-card); z-index: 60; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--sage-mist); }
.chat-head { background: var(--canopy); color: #fff; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.chat-head b { display: block; }
.chat-head span { font-size: 13px; color: var(--sage-mist); }
.chat-head .x { margin-left: auto; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; width: 36px; height: 36px; border-radius: var(--r-btn); }
.ava { width: 36px; height: 36px; border-radius: 50%; background: var(--mint-pulse); color: var(--canopy); display: grid; place-items: center; font-weight: 500; flex: none; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--canvas); }
.msg { max-width: 85%; padding: 10px 12px; border-radius: 12px; font-size: 15px; }
.msg.in { background: var(--paper); border: 1px solid var(--sage-mist); align-self: flex-start; }
.msg.out { background: var(--canopy); color: #fff; align-self: flex-end; }
.msg.sys { align-self: center; background: transparent; color: var(--slate); font-size: 13px; text-align: center; }
.chat-foot { padding: 12px; display: grid; gap: 8px; border-top: 1px solid var(--sage-mist); }
.chat-foot .row { display: flex; gap: 8px; }
.chat-foot textarea { min-height: 64px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--canopy); color: #fff; padding: 12px 18px; border-radius: var(--r-btn); z-index: 80; font-size: 14px; max-width: calc(100vw - 32px); }

footer { background: var(--canopy); color: #fff; padding-block: 56px; margin-top: 0; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; font-size: 14px; }
footer img { height: 36px; width: auto; }

@media (max-width: 1080px) {
  .pp-dash { grid-template-columns: minmax(0, 1fr); }
  .clean { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .d-grid { grid-template-columns: minmax(0, 1fr); }
  .d-side { position: static; order: -1; }
}
@media (max-width: 860px) {
  .base { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 0; z-index: 55; max-height: none; border-radius: 0; border: 0; overflow-y: auto; padding-bottom: 96px; }
  .filters[data-open="false"] { display: none; }
  .filter-open { display: inline-flex; }
  .f-close { display: flex; }
  .steps, .split, .pp-roles, .pp-guard { grid-template-columns: minmax(0, 1fr); }
  .pp-flow { grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 560px; margin-inline: auto; }
  .pp-flow li { grid-template-columns: 48px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 20px; row-gap: 8px; }
  .pp-flow .orb { grid-row: span 2; }
  .pp-flow p { max-width: none; }
  .pp-flow li:not(:last-child)::after { top: 56px; bottom: -20px; left: 23px; width: 0; border-top: 0; border-left: 2px dotted var(--sage-mist); }
  .hero { margin: 12px 12px 0; }
}
@media (min-width: 861px) { .f-close, .f-apply { display: none !important; } }
@media (max-width: 560px) {
  .pp-cta .btn { flex: 1 1 100%; }
  .pp-dash { padding: 20px; gap: 20px; }
  .pp-dash.solo .pp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-tile { padding: 16px; min-height: 104px; }
  .pp-tile b { font-size: 28px; }
  .pp-bars { gap: 12px 10px; font-size: 13px; }
  .pp-bar .sk { width: 96px; }
  .pp-stages span { font-size: 13px; }
  .pp-role { padding: 28px 20px; }
  .pp-role h3 { font-size: 24px; }
  .pp-stages { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 16px; }
  .pp-track { padding: 20px; margin-top: 40px; }
  .pp-guard { padding: 32px 20px; gap: 24px; }
  .pp-rule { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pp-final { margin: 0 8px 8px; }
  .pp-final-in { padding: 56px 16px; }
  .pp-final p.lead { font-size: 16px; }
  .gate-foot .btn { flex: 1 1 100%; }
  .gate-foot .link { flex-basis: 100%; justify-content: center; padding: 0; }
  .top-in { gap: 8px 12px; height: auto; flex-wrap: wrap; padding: 8px 16px; }
  .wrap { padding-inline: 16px; }
  .nav { order: 3; flex-basis: 100%; gap: 0; }
  .nav .long { display: none; }
  .brand img { height: 32px; }
  .nav a { padding: 8px 10px; font-size: 14px; }
  .who .btn { padding: 4px 14px; min-height: 36px; font-size: 14px; }
  .hero { margin: 8px 8px 0; }
  .hero-in { padding: 40px 8px 8px; gap: 32px; }
  .hero p.lead { font-size: 16px; padding-inline: 8px; }
  .hero-stats { gap: 16px 28px; margin-top: 28px; }
  .hero-stats b { font-size: 28px; }
  .hero-stats span { font-size: 11px; }
  .quiz { padding: 20px 16px; }
  .quiz h2 { font-size: 24px; margin: 16px 0; }
  .opts { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .card, .split .card, .step, .svc { padding: 20px; }
  .clean { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .clean .card { padding: 20px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roles { grid-template-columns: minmax(0, 1fr); }
  .band { padding-block: 56px; }
  .band h2, .res-head h1, .d-head h1, .p-head h1 { font-size: 30px; }
  .steps, .svc-grid { gap: 12px; margin-top: 28px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .lot { padding: 20px; }
  .modal { padding: 24px 20px; }
  .chat { right: 0; bottom: 0; width: 100vw; height: 100%; border-radius: 0; border: 0; }
}
[hidden] { display: none !important; }
.foot-link { color: #fff; }
.range-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--wash); color: var(--bark); border-radius: var(--r-btn); padding: 14px 18px; margin-bottom: 20px; font-weight: 500; }
.err a, .consent a { color: inherit; }
.mini { font-size: 13px; color: var(--slate); }
.doc { max-width: 820px; }
.doc h1 { font-size: 40px; line-height: 1.15; }
.doc h2 { font-size: 22px; font-weight: 500; letter-spacing: 0; color: var(--bark); margin-top: 32px; }
.doc p { color: var(--slate); margin: 8px 0 0; }
