/* Domio public site. Adds to domio.css; target <= 10 KB gzip. */
.pub{background:var(--bg)}.center{text-align:center}.narrow{max-width:820px}.narrow-l{max-width:760px}.stack-lg{display:flex;flex-direction:column;gap:clamp(40px,7vw,88px)}
.container.narrow{margin-inline:auto}.section.tight{padding:clamp(24px,4vw,48px) 0}.section.alt{background:var(--surface-2)}
.lead{font-size:clamp(17px,2vw,20px);color:var(--text-2);max-width:640px}.center .lead,.narrow.center .lead{margin-inline:auto}
.sec-head{max-width:640px;margin:0 0 28px}.sec-head p{margin-top:8px}.page-hero{padding:clamp(32px,6vw,72px) 0}.page-hero h1{margin-bottom:12px;overflow-wrap:anywhere}.page-hero,.legal{overflow-wrap:anywhere;hyphens:auto}
.plain{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
/* Header */
.pub-head{position:sticky;top:0;z-index:40;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}
.pub-bar{display:flex;align-items:center;gap:16px;min-height:64px}.pub-logo{display:flex;flex:none}.pub-logo img{height:32px;width:auto}
.pub-nav{display:flex;gap:4px;margin-inline:auto}.pub-nav a:not(.btn){padding:8px 14px;border-radius:var(--r-pill);font-weight:700;font-size:15px;color:var(--text-2)}.pub-nav a:not(.btn):hover,.pub-nav a:not(.btn).is-active{background:var(--primary-soft);color:var(--primary);text-decoration:none}
/* QA-001: кнопки внутри меню не наследуют цвет ссылок (иначе белый текст на зелёном становится серым) */
.pub-nav .btn{color:var(--on-primary)}.pub-nav .btn-secondary{color:var(--text)}.pub-nav .btn-ghost{color:var(--text-2)}
.pub-nav-m{display:none}.pub-actions{display:flex;align-items:center;gap:8px}.pub-burger{display:none}
@media(max-width:820px){.pub-burger{display:inline-flex}.pub-hide-m{display:none}.pub-nav{position:fixed;inset:64px 0 auto 0;flex-direction:column;background:var(--surface);padding:12px 16px 20px;border-bottom:1px solid var(--border);box-shadow:var(--shadow-3);transform:translateY(-12px);opacity:0;visibility:hidden;transition:opacity var(--t-base),transform var(--t-base),visibility var(--t-base)}.pub-nav.is-open{transform:none;opacity:1;visibility:visible}.pub-nav a:not(.btn){padding:14px 12px;font-size:17px}.pub-nav-m{display:flex;flex-direction:column;gap:8px;margin-top:8px}.pub-actions{margin-left:auto}}
/* Footer */
.pub-foot{background:var(--ink-900);color:#C9D1DE;padding:48px 0 24px;margin-top:0}.pub-foot a{color:#C9D1DE}.pub-foot h4{color:#fff;margin-bottom:4px}.pub-foot .muted{color:#98A2B3}
.pub-foot-grid{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:28px}.pub-foot-grid img{filter:brightness(0) invert(1);height:30px;width:auto}
.pub-foot-bottom{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:32px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12)}.pub-langs{display:flex;gap:6px 14px;flex-wrap:wrap;font-size:13px}.pub-langs a[aria-current]{color:#fff;font-weight:800}
@media(max-width:820px){.pub-foot-grid{grid-template-columns:1fr 1fr}.pub-foot-grid>:first-child{grid-column:1/-1}}
/* Crumbs */
.crumbs{padding-top:16px}.crumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:0 8px;list-style:none;margin:0;padding:0;font-size:13px;color:var(--text-3)}.crumbs li{display:flex;align-items:center}.crumbs li+li::before{content:"/";margin-right:8px;color:var(--ink-300)}
/* Hero */
.hero{padding:clamp(32px,6vw,80px) 0 clamp(40px,6vw,72px);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(24px,5vw,64px);align-items:center}
.hero-copy{display:flex;flex-direction:column;gap:18px;align-items:flex-start}.hero h1{font-size:clamp(38px,6.4vw,68px);line-height:1.04}.hero h1 .gradient-text{display:inline-block}
.hero-form{display:flex;gap:8px;width:100%;max-width:520px;padding:6px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow-2)}.hero-form .input{border:0;box-shadow:none;background:transparent;min-width:0}.hero-form .input:focus{box-shadow:none}.hero-form:focus-within{box-shadow:var(--focus)}
.chips{display:flex;flex-wrap:wrap;gap:8px 16px;list-style:none;margin:0;padding:0;font-weight:700;font-size:14px;color:var(--text-2)}.chips li{display:flex;gap:6px;align-items:center}.chips .icon{color:var(--brand-600)}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr}.hero-form{flex-direction:column;padding:10px}}
/* Demo window */
.demo{position:relative;min-height:340px}.win{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-xl);box-shadow:var(--shadow-3);overflow:hidden}
.win-bar{display:flex;align-items:center;gap:6px;padding:10px 14px;background:var(--surface-2);border-bottom:1px solid var(--border)}.win-bar i{width:10px;height:10px;border-radius:50%;background:var(--ink-300)}.win-bar i:nth-child(1){background:var(--coral-500)}.win-bar i:nth-child(2){background:var(--amber-400)}.win-bar i:nth-child(3){background:var(--brand-500)}.win-bar span{margin-left:8px;font-size:12px;font-weight:700;color:var(--text-3)}
.win-body{padding:16px;display:grid;gap:14px}.trow{display:flex;gap:8px;align-items:center;padding:9px 11px;border:1px solid var(--border);border-radius:var(--r-md);font-size:13px;font-weight:600;background:var(--surface)}.trow .icon{color:var(--brand-600)}.trow.cool{background:var(--coral-100);border-color:transparent;color:var(--coral-700)}.trow.cool .icon{color:var(--coral-500)}
.win-col{display:flex;flex-direction:column;gap:8px}.win-kanban{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.kc{background:var(--surface-2);border-radius:var(--r-md);padding:8px;display:flex;flex-direction:column;gap:6px;font-size:12px}.kcd{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:7px 8px;font-weight:700}
.fc{position:absolute;padding:12px 14px;box-shadow:var(--shadow-3);z-index:2}.fc-1{left:-4%;top:80%;width:230px}.fc-2{right:-2%;top:-6%;animation-delay:-2s}.fc-3{right:6%;bottom:-8%;animation-delay:-4s}
@media(max-width:900px){.fc-1{left:0;top:auto;bottom:-24px}.fc-2{right:0;top:-18px}.fc-3{display:none}.demo{margin-bottom:24px}}
@media(max-width:520px){.fc-1{width:200px}.win-kanban{grid-template-columns:1fr 1fr}.win-kanban .kc:nth-child(3){display:none}}
/* Blocks */
.proof{display:flex;flex-direction:column;gap:10px}.proof .icon-xl{color:var(--brand-600)}
.stats-band{padding:8px 0 24px}.stats-band .stat{align-items:center;text-align:center}.stats-band .v{font-size:clamp(36px,6vw,56px)}
.funnel-sec{display:grid;grid-template-columns:1fr 1.2fr;gap:clamp(24px,5vw,64px);align-items:center}.funnel{display:flex;flex-direction:column;gap:10px}.funnel .fl{width:130px;font-weight:700;color:var(--text-2)}.funnel .bar{height:34px}.funnel .bar>i{background:linear-gradient(90deg,var(--brand-600),var(--brand-500))}
@media(max-width:820px){.funnel-sec{grid-template-columns:1fr}.funnel .fl{width:96px;font-size:12px}}
.fnum{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--primary-soft);color:var(--primary);font-weight:800;margin-bottom:10px}.feat h3{margin-bottom:6px}
.cmp-mini th,.cmp-mini td{vertical-align:top}.hl{background:var(--primary-soft)}.cmp-mini thead .hl{color:var(--primary)}
.cta-band{border-radius:var(--r-xl);padding:clamp(28px,6vw,64px);text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px;border:1px solid var(--border)}.cta-band p{max-width:520px;color:var(--text-2)}
.faq{display:flex;flex-direction:column;gap:10px}.faq details{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);padding:0 18px}.faq summary{cursor:pointer;font-weight:800;padding:16px 0;list-style:none;display:flex;justify-content:space-between;gap:12px;min-height:44px}.faq summary::after{content:"+";font-size:22px;line-height:1;color:var(--primary)}.faq details[open] summary::after{content:"−"}.faq details p{padding:0 0 16px;color:var(--text-2)}.faq-sec h2{margin-bottom:20px}
/* Features page */
.fx{display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,5vw,64px);align-items:center}.fx.rev .fx-text{order:2}.fx-text{display:flex;flex-direction:column;gap:12px}.fx-text .badge{margin-right:6px}.fx-demo{display:flex;flex-direction:column;gap:12px;min-height:150px;justify-content:center;background:linear-gradient(135deg,var(--surface),var(--primary-soft))}
@media(max-width:820px){.fx{grid-template-columns:1fr}.fx.rev .fx-text{order:0}}
.mini-btns,.mini-files{display:flex;gap:8px;flex-wrap:wrap}.bubble{background:var(--green-100);color:var(--green-700);padding:10px 14px;border-radius:14px 14px 14px 4px;font-weight:600;font-size:14px;align-self:flex-start}
.pulse{height:12px;border-radius:99px;background:linear-gradient(90deg,var(--coral-500),var(--amber-400),var(--green-600));position:relative}.pulse i{position:absolute;top:-5px;width:6px;height:22px;border-radius:3px;background:var(--ink-900);border:2px solid #fff}
.mini-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-weight:600;font-size:14px}.mini-list li{display:flex;gap:8px;align-items:center;color:var(--text-3)}.mini-list li.on{color:var(--green-700)}
.route{width:100%;height:auto}.route path{fill:none;stroke:var(--brand-500);stroke-width:3;stroke-dasharray:6 6;stroke-linecap:round}.route circle{fill:var(--amber-500);stroke:#fff;stroke-width:3}
/* Pricing */
.slider-card{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.range{flex:1;accent-color:var(--brand-700);min-height:44px}output.badge{min-width:96px;justify-content:center}
.plans{align-items:stretch}.plan{display:flex;flex-direction:column;gap:10px;position:relative}.plan.is-best{border-color:var(--brand-500);box-shadow:0 0 0 2px var(--brand-500),var(--shadow-3)}/* бейдж «лучший выбор»: на верхней рамке карточки, но со СПЛОШНЫМ фоном и тёмным текстом (раньше фон был полупрозрачным, и линия рамки просвечивала поверх текста); читается в обеих темах */
.best-badge{position:absolute;top:-13px;left:16px;right:auto;z-index:2;max-width:calc(100% - 32px);white-space:normal;line-height:1.25;font-weight:700;background:var(--amber-400);color:#1B1300;padding:5px 12px;box-shadow:0 0 0 3px var(--surface)}[data-theme=dark] .best-badge{background:var(--amber-400);color:#1B1300}
.plan-price .price{font-size:40px}.plan-total{min-height:24px}.plist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;flex:1}.plist li{display:flex;gap:8px;align-items:flex-start}.plist .icon{color:var(--brand-600);margin-top:3px}
.calc{display:flex;flex-direction:column;gap:16px}.calc-out{display:grid;grid-template-columns:200px 1fr;gap:24px;align-items:end}.calc-bars{display:flex;gap:16px;height:150px;align-items:flex-end}.cb{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--text-3);text-align:center}.cb i{display:block;width:100%;border-radius:10px 10px 0 0;transition:height var(--t-slow) var(--ease);min-height:4px}.cb-now{background:var(--ink-300)}.cb-with{background:linear-gradient(180deg,var(--brand-300),var(--brand-600))}
.calc-list{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.calc-list div{background:var(--surface-2);border-radius:var(--r-md);padding:12px 14px}.calc-list dt{font-size:12px;color:var(--text-3);font-weight:700}.calc-list dd{margin:2px 0 0;font-size:22px;font-weight:800}.calc-list .save{background:var(--primary-soft)}.calc-list .save dd{color:var(--primary)}
@media(max-width:700px){.calc-out{grid-template-columns:1fr}.calc-bars{height:110px}}
.notin{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-direction:column;gap:10px}.notin li{display:flex;gap:10px;align-items:flex-start;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);padding:14px 16px}.notin .icon{color:var(--amber-700);margin-top:2px}
/* Segments / compare / limits */
.seg-hero .seg-card{max-width:380px;justify-self:center}.seg-two{display:grid;grid-template-columns:1.2fr 1fr;gap:clamp(20px,4vw,48px);align-items:start}@media(max-width:820px){.seg-two{grid-template-columns:1fr}}
.timeline.day .tl-item b{display:block;color:var(--primary)}
.cmp{min-width:760px}.cmp th{vertical-align:middle}.cmp tbody th{text-align:left;text-transform:none;letter-spacing:0;font-size:14px;color:var(--text);position:sticky;left:0;background:var(--surface);min-width:170px}.cmp td{text-align:center}.cmp td small{display:block;color:var(--text-3);font-size:12px;margin-top:2px}.cmp thead .hl{color:var(--primary)}
.mk{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;font-weight:800;font-size:14px}.mk-y{background:var(--green-100);color:var(--green-700)}.mk-p{background:var(--amber-100);color:var(--amber-700)}.mk-n{background:var(--coral-100);color:var(--coral-700)}.mk-u{background:var(--surface-2);color:var(--text-3)}
.legend{display:flex;flex-wrap:wrap;gap:8px 20px;list-style:none;margin:0 0 16px;padding:0;font-size:14px}.legend li{display:flex;gap:8px;align-items:center}
.limit{display:flex;flex-direction:column;gap:8px}.legal h2{font-size:20px;margin:28px 0 8px}.legal p{color:var(--text-2)}.notice{display:flex;gap:12px;align-items:flex-start;background:var(--amber-100);border-color:transparent;color:var(--amber-700);font-weight:700}
/* Blog */
.post{display:flex;flex-direction:column;gap:10px;text-decoration:none;color:inherit;align-items:flex-start}.post:hover{text-decoration:none}.post h2,.post h3{font-size:20px}
.read-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:60;background:transparent}.read-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--brand-500),var(--amber-500))}
.art{padding-bottom:32px}.art-head{padding:24px 0}.art-head h1{margin:10px 0}.art-grid{display:grid;grid-template-columns:240px minmax(0,740px);gap:40px;justify-content:center}.toc{position:sticky;top:84px;align-self:start}.toc-ball{display:none}.toc h4{margin-bottom:8px}.toc ol{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px;font-size:14px}.toc a{color:var(--text-2)}.toc a.on{color:var(--primary);font-weight:800}
@media(max-width:960px){.art-grid{grid-template-columns:minmax(0,1fr)}.toc{position:fixed;right:16px;bottom:16px;z-index:45}.toc-ball{display:inline-flex;box-shadow:var(--shadow-3);border-radius:var(--r-pill)}.toc-panel{display:none;position:absolute;right:0;bottom:56px;width:min(300px,86vw);background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow-3);padding:16px;max-height:60vh;overflow:auto}.toc-panel.is-open{display:block}}
.prose{font-size:17px;line-height:1.7;color:var(--text-2)}.prose h2{font-size:26px;margin:36px 0 12px;color:var(--text);scroll-margin-top:84px}.prose p,.prose ul,.prose ol{margin:0 0 16px}.prose li{margin-bottom:6px}.prose strong{color:var(--text)}.prose .table-wrap{margin:20px 0;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface)}.prose ul.contains-task-list{list-style:none;padding:0}.prose .task-list-item{display:flex;gap:10px;align-items:flex-start}.prose input[type=checkbox]{margin-top:7px;accent-color:var(--brand-700);width:18px;height:18px}
.inline-cta{display:flex;gap:16px;align-items:center;justify-content:space-between;margin:28px 0;background:var(--primary-soft);border-color:transparent;flex-wrap:wrap}.prose .note{font-size:14px;margin-top:32px}
/* Property + agency */
.prop{padding-top:12px;padding-bottom:96px}.prop-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:32px;align-items:start}.prop-side{position:sticky;top:84px}.prop-title{margin:10px 0 6px}.prop-main h2{margin:28px 0 12px;font-size:20px}
.gal{position:relative;border-radius:var(--r-lg);overflow:hidden;background:var(--surface-2)}.gal-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}.gal-track::-webkit-scrollbar{display:none}.gal-track img{flex:0 0 100%;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;scroll-snap-align:center;cursor:zoom-in}
.gal-dots{position:absolute;left:0;right:0;bottom:12px;display:flex;gap:6px;justify-content:center}.gal-dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.6)}.gal-dots i.on{background:#fff;width:18px;border-radius:4px}.gal-count{position:absolute;top:12px;right:12px;background:rgba(16,24,40,.7);color:#fff}.gal-empty{aspect-ratio:4/3;display:grid;place-content:center;justify-items:center;gap:8px;color:var(--text-3)}
.keyfacts{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px;margin:20px 0}.keyfacts div{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);padding:12px;display:flex;flex-direction:column;gap:2px}.keyfacts .icon{color:var(--brand-600)}.keyfacts dd{margin:4px 0 0;font-weight:800;font-size:18px}.keyfacts dt{font-size:12px;color:var(--text-3);font-weight:700}
.price-xl{font-size:clamp(30px,4vw,40px);font-weight:800;letter-spacing:-.03em}.price-xl small{font-size:16px;color:var(--text-3)}.agent-box{display:flex;gap:12px;align-items:center;margin:16px 0}.contact-btns{display:flex;flex-direction:column;gap:8px}
.sticky-bar{position:fixed;left:0;right:0;bottom:0;z-index:50;display:none;gap:8px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--border);box-shadow:0 -8px 24px rgba(16,24,40,.08)}
.sb-act{flex:1 1 0;min-width:0;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:4px 6px;border-radius:var(--r-md);background:var(--surface-2);color:var(--text);font:700 12px/1.15 var(--font);text-decoration:none;-webkit-tap-highlight-color:transparent}
.sb-act:hover{text-decoration:none}.sb-act>span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sb-act .icon{width:20px;height:20px}
.sb-act.is-primary{flex:1.3 1 0;background:var(--primary);color:var(--on-primary)}
.sb-act:focus-visible{box-shadow:var(--focus);outline:0}
.prop-price-m{display:none}.prop-lead-h{scroll-margin-top:84px}
@media(max-width:900px){.prop-grid{grid-template-columns:1fr}.prop-side{position:static}.sticky-bar{display:flex}.prop-price-m{display:flex;flex-direction:column;gap:2px;margin:4px 0 8px}.prop-price-m .price-xl{font-size:28px;line-height:1.15}.prop-price-d,.prop-card .prop-price-d+.muted{display:none}}
@media(max-width:900px) and (prefers-reduced-motion:no-preference){.sb-act:active{transform:scale(.97)}}
.lightbox{position:fixed;inset:0;z-index:90;background:rgba(10,15,25,.94);display:grid;place-items:center}.lightbox[hidden]{display:none}.lightbox img{max-width:96vw;max-height:88vh;width:auto;height:auto;object-fit:contain}.lightbox .btn{position:absolute;background:rgba(255,255,255,.14);color:#fff}.lb-close{top:16px;right:16px}.lb-prev{left:12px;top:50%}.lb-next{right:12px;top:50%}
.lcard .pb{gap:6px}.clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ag-hero{padding:clamp(24px,5vw,56px) 0}.ag-head{display:flex;flex-direction:column;gap:16px}.ag-logo{border-radius:16px;object-fit:cover}.ag-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start}.ag-side{position:sticky;top:84px}@media(max-width:900px){.ag-grid{grid-template-columns:1fr}.ag-side{position:static}}
.table-wrap.card-flush{overflow-x:auto;overflow-y:hidden;max-width:100%}
.table-wrap{position:relative}
.lead-status{padding:12px 16px;border-radius:var(--r-md);border:1px solid var(--border);font-weight:600}.lead-status.ok{background:var(--primary-soft);border-color:var(--brand-300);color:var(--brand-700)}.lead-status.bad{border-color:var(--coral-500);color:var(--text)}
.pu-codesearch{display:flex;gap:8px;max-width:460px;margin:0 0 12px}.pu-codesearch .input{min-width:0;flex:1;font-size:16px}
.gal-track img.is-portrait{object-fit:contain;background:var(--surface-2)}
