/* ProjectSLEM. Мир: проектная документация — белый лист и тёмная тушь. Один акцент: жёлтый из значка, только для главного действия.
   Одна фирменная деталь: подвал в виде основной надписи чертежа. Шрифт Onest (SIL OFL), начертания 400–600.
   Отступы по шагу 4 px; радиусы: кнопки 8, изображения и панели 12. */
@font-face { font-family: Onest; src: url(../fonts/Onest.ttf) format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #111827; --text: #424c5c; --muted: #657084; --paper: #ffffff; --tint: #f3f5f8; --line: rgba(17, 24, 39, .12); --rule: #111827;
  --bolt: #ffc21f; --bolt-press: #f2b200; --night: #121a28; --night-text: #c3cad6; --night-line: rgba(238, 240, 245, .16);
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 16px 40px -16px rgba(0, 0, 0, .18);
  --section: clamp(64px, 8vw, 112px); --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.625 Onest, "Segoe UI", Roboto, Arial, sans-serif; -webkit-text-size-adjust: 100%; }
::selection { background: var(--bolt); color: var(--ink); }
img, video { max-width: 100%; }
a { color: var(--ink); text-decoration-color: rgba(17, 24, 39, .35); text-underline-offset: 4px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 48px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--bolt); padding: 8px 16px; border-radius: 8px; }

h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(34px, 4.5vw, 54px); line-height: 1.06; font-weight: 500; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 16px; }
h3 { font-size: 20px; line-height: 1.35; font-weight: 600; }
p { margin: 0 0 16px; }
.lead { font-size: 19px; line-height: 1.6; max-width: 60ch; }
.fine { font-size: 14px; line-height: 1.6; color: var(--muted); }
.todo { background: #fff4cf; border-radius: 8px; padding: 4px 12px; color: #4d3a00; }

section { padding-block: var(--section); }
section.mist { background: var(--tint); }
section + section:not(.mist):not(.montage):not(.page-head) { border-top: 1px solid var(--line); }

.btn { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; min-height: 44px; padding: 8px 20px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--paper); color: var(--ink); font-weight: 500; font-size: 16px; line-height: 1.3; text-align: center; text-decoration: none;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease); }
.btn:hover { border-color: rgba(17, 24, 39, .45); }
.btn:active { transform: scale(.98); }
.btn.bolt { background: var(--bolt); border-color: var(--bolt); }
.btn.bolt:hover { background: var(--bolt-press); border-color: var(--bolt-press); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.dark:hover { background: #2a3446; }
.btn.small { min-height: 36px; padding: 4px 16px; font-size: 15px; }
.btn.big { min-height: 48px; padding-inline: 24px; }
.btn small { font-weight: 400; font-size: 13px; opacity: .72; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0 0; }
.textlink { font-weight: 500; padding: 8px 4px; }

/* шапка */
.top { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 18px; font-weight: 600; }
.brand img { border-radius: 8px; width: 32px; height: 32px; }
.nav { display: flex; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14px; color: var(--text); padding: 8px; border-radius: 8px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); background: var(--tint); }
.menu { display: none; }

/* первый экран: слева обещание, справа оно же происходит на настоящих данных */
.hero { padding-block: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 80px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-text > p { font-size: 19px; margin: 24px 0 0; max-width: 48ch; }
.hero-text .row { margin-top: 32px; font-size: 16px; }
.hero-text .fine { font-size: 13px; color: var(--muted); margin-top: 24px; }
.star { text-decoration: none; color: var(--bolt-press); padding-left: 2px; }
.assure { list-style: none; margin: 24px 0 0; padding: 0; }
.assure li { padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; }
.phone { display: block; border: 8px solid var(--night); border-radius: 32px; background: var(--night); box-shadow: var(--shadow); }

.demo { margin: 0; min-width: 0; }
.demo-card { background: var(--night); color: var(--night-text); border-radius: 16px; padding: 24px; box-shadow: 0 32px 64px -32px rgba(0, 0, 0, .45); }
.demo ul { list-style: none; margin: 0; padding: 0; }
.demo-files { display: flex; gap: 8px; flex-wrap: wrap; }
.demo-files li { border: 1px solid var(--night-line); border-radius: 8px; padding: 4px 12px; font-size: 14px; color: #fff; }
.demo-head, .demo-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.demo-head { margin-top: 20px; padding-bottom: 8px; border-bottom: 1px solid var(--night-line); font-size: 14px; }
.demo-head strong { color: #fff; font-weight: 600; }
.demo-rows li { display: grid; grid-template-columns: minmax(0, 1fr) 72px 96px; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--night-line); font-size: 14px; }
.demo-rows span { color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-rows em { font-style: normal; text-align: right; }
.demo-rows b { font-weight: 500; text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.demo-more { margin: 8px 0 0; font-size: 13px; }
.demo-sum { margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--bolt); flex-wrap: wrap; }
.demo-sum strong { color: var(--bolt); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.demo-done { display: flex; gap: 8px; align-items: center; margin-top: 16px; }
.demo-done span { background: #fff; color: var(--ink); border-radius: 8px; padding: 4px 14px; font-size: 14px; font-weight: 600; }
.again { margin-left: auto; background: none; border: 0; color: var(--night-text); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; padding: 8px 0; }
.again:hover { color: #fff; }
.demo figcaption { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* три шага — настоящая последовательность, поэтому с номерами */
.flow { list-style: none; counter-reset: step; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.flow li { counter-increment: step; }
.flow .shot, .feature .shot { display: flex; justify-content: center; align-items: flex-start; overflow: hidden; border-bottom: 1px solid var(--line); }
.flow .shot { height: 360px; }
.flow .phone { width: 232px; height: auto; box-shadow: none; }
.flow h3 { margin: 20px 0 4px; }
.flow h3::before { content: counter(step) ". "; color: var(--muted); font-weight: 400; }

.videos { display: grid; grid-template-columns: minmax(0, 1.7778fr) minmax(0, .5625fr); gap: 24px; align-items: start; margin-top: 64px; }
.video { margin: 0; }
.video video { display: block; width: 100%; aspect-ratio: 9 / 16; background: var(--night); border-radius: 12px; object-fit: cover; }
.video.wide video { aspect-ratio: 16 / 9; }
.video figcaption, .paper figcaption { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* возможности: текст и крупный экран, без цветных коробок */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: var(--section); }
.feature .say h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.01em; margin-bottom: 12px; }
.feature .shot { height: 440px; }
.feature .shot .phone { width: 288px; height: auto; box-shadow: none; }
.feature.flip .say { order: 2; }
.feature.has-sheet { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.paper { margin: 0; }
.paper img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.points { list-style: none; margin: 16px 0 0; padding: 0; }
.points li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); }

.gap { margin-top: var(--section); }
.roles { margin: 24px 0 0; }
.roles div { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 16px 0; border-top: 1px solid var(--line); }
.roles dt { font-weight: 600; color: var(--ink); }
.roles dd { margin: 0; }

/* «Эксперт» */
.section-head { display: flex; gap: 20px; align-items: flex-start; }
.section-head img { border-radius: 12px; width: 56px; height: 56px; }
.section-head h2 { max-width: 24ch; }
.outputs { margin: 32px 0 0; padding: 0; list-style: none; columns: 3 240px; column-gap: 32px; }
.outputs li { break-inside: avoid; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); }
#expert .videos { margin-top: 48px; }

/* цены: одна таблица из двух колонок */
.plans { display: grid; grid-template-columns: 1fr 1fr; margin-top: 32px; border: 1px solid var(--line); border-radius: 12px; }
.plan { padding: 32px; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan header { display: flex; gap: 12px; align-items: center; }
.plan header img { border-radius: 8px; width: 40px; height: 40px; }
.plan header p { margin: 0; font-size: 14px; color: var(--muted); }
.plan .cost { margin: 32px 0 24px; }
.plan .cost b { font-size: 48px; line-height: 1; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; margin-right: 8px; }
.downloads { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.terms { list-style: none; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin: 20px 0 0; padding: 0; color: var(--ink); }

.doclist, .services { list-style: none; margin: 24px 0 0; padding: 0; }
.doclist li { display: grid; grid-template-columns: 1fr auto; gap: 12px 32px; align-items: center; padding: 24px 0; border-top: 1px solid var(--line); }
.doclist p { margin: 4px 0 0; }
.doclist .row { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.how { margin: 24px 0 0; padding-left: 20px; }
.how li { margin-bottom: 8px; padding-left: 4px; }
.services { margin-top: 0; }
.services li { display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; align-items: center; padding: 24px 0; border-top: 1px solid var(--rule); }
.services li > div { grid-column: 1 / -1; }
.services p { margin: 4px 0 0; }
.services .fee { margin: 0; }
.services .fee b { font-size: 32px; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; margin-right: 8px; }

/* монтажные работы — отдельное направление, единственный тёмный блок */
.montage { background: var(--night); color: var(--night-text); }
.montage h2, .montage h3, .montage a:not(.btn) { color: #fff; }
.montage .btn.bolt { color: var(--ink); }
.montage :focus-visible { outline-color: var(--bolt); }
.works { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 96px); margin-top: 48px; }
.works ul { list-style: none; margin: 12px 0 32px; padding: 0; }
.works li { padding: 12px 0; border-top: 1px solid var(--night-line); }
.facts { margin: 8px 0 32px; }
.facts div { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 16px 0; border-top: 1px solid var(--night-line); }
.facts dt { color: #fff; font-weight: 600; }
.facts dd { margin: 0; }
.montage .row { margin-top: 0; }

/* вопросы: знак «плюс» нарисован линиями */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 48px 20px 0; font-weight: 500; font-size: 18px; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.5px; margin-top: -1px; background: var(--ink); transition: transform .18s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { padding-right: 32px; }
#data h2 { font-size: 24px; }

/* подвал: основная надпись чертежа */
footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: end; }
.foot-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-self: start; }
.foot-links b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.foot-links a { display: block; color: var(--text); text-decoration: none; padding: 4px 0; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.stamp { display: grid; grid-template-columns: 1fr 1.2fr 1fr 1.2fr; margin: 0; border: 2px solid var(--rule); }
.stamp div { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 8px 12px; margin: 0 -1px -1px 0; min-width: 0; }
.stamp div.wide { grid-column: span 2; }
.stamp dt { font-size: 12px; line-height: 16px; color: var(--muted); }
.stamp dd { margin: 4px 0 0; color: var(--ink); font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }

/* внутренние страницы */
.page-head { padding-block: clamp(48px, 5vw, 72px) 32px; border-bottom: 1px solid var(--line); }
.page-head p { max-width: 68ch; margin-top: 16px; }
.page-head + section { border-top: 0; padding-top: 48px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 32px 24px; margin-top: 32px; }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }
.gallery figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.big-link { font-size: clamp(24px, 3vw, 32px); font-weight: 500; overflow-wrap: anywhere; }
.city { font-size: 18px; color: var(--ink); }
.requisites { list-style: none; margin: 16px 0 0; padding: 0; }
.requisites li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); }
.warning { background: #fff7dc; border-radius: 12px; padding: 16px 20px; margin-bottom: 48px; color: var(--ink); }
.portals, .toc, .docs { list-style: none; margin: 0 0 48px; padding: 0; }
.portals { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 0 32px; }
.portals li { padding: 12px 0; border-top: 1px solid var(--line); }
.portals small { display: block; color: var(--muted); }
.toc { columns: 3 240px; column-gap: 32px; }
.toc li { padding: 4px 0; }
.docs li { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.docs p { margin: 4px 0 0; font-size: 15px; }
.docs b { color: var(--ink); font-weight: 600; }
.docs > li > a { font-size: 14px; }
.tag { margin-left: 12px; font-size: 13px; color: var(--muted); }
.tag.ok { color: #14603a; }
.tag.old { color: #a02a1e; }
.note { font-size: 14px; color: var(--muted); }

@media (max-width: 1160px) {
  .hero-text { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .nav { display: none; }
  .top .btn.small { margin-left: auto; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 8px; padding: 4px 16px; min-height: 36px; display: flex; align-items: center; font-weight: 500; font-size: 15px; color: var(--ink); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu nav { position: absolute; right: 0; top: calc(100% + 8px); width: 248px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; }
  .menu a { display: block; padding: 8px 12px; text-decoration: none; border-radius: 8px; }
  .menu a:hover, .menu a[aria-current] { background: var(--tint); }
}
@media (max-width: 920px) {
  .hero-text, .split, footer .wrap { grid-template-columns: 1fr; gap: 32px; }
  .stage { padding-right: 48px; }
  .stage .phone { width: 208px; }
  .flow { grid-template-columns: 1fr; max-width: 400px; }
  .feature, .feature.has-sheet { grid-template-columns: 1fr; gap: 24px; }
  .feature.flip .say { order: 0; }
}
@media (max-width: 720px) {
  .plans, .works { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .plan { padding: 24px; }
  .videos { grid-template-columns: 1fr; margin-top: 48px; }
  .videos .video:not(.wide) { width: min(272px, 100%); margin-inline: auto; }
  .doclist li, .docs li, .roles div, .facts div { grid-template-columns: 1fr; gap: 4px; }
  .doclist .row { margin-top: 12px; }
  /* на телефоне первым показывается приложение, лист — фоном под ним */
  .stage { margin-top: 32px; padding: 0 0 0 0; height: 420px; overflow: hidden; border-bottom: 1px solid var(--line); }
  .sheet { position: absolute; left: 0; top: 40px; width: 100%; opacity: 1; }
  .stage .phone { right: 50%; transform: translateX(50%); top: 0; bottom: auto; width: 240px; }
  .caption { margin-top: 16px; }
  .flow .shot { height: 304px; }
  .flow .phone { width: 208px; }
  .feature .shot { height: 336px; }
  .feature .shot .phone { width: 232px; }
}
@media (max-width: 520px) {
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .downloads, .services li { grid-template-columns: 1fr; }
  .hero-side .row .btn { width: 100%; }
  .foot-links { grid-template-columns: 1fr 1fr; }
  .stamp { grid-template-columns: 1fr 1fr; }
  .top .wrap { gap: 8px; }
  .top .btn.small, .menu summary { padding-inline: 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .faq summary::before, .faq summary::after { transition: none; } }

/* вручную и в приложении */
.compare-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 32px; padding-bottom: 8px; font-size: 14px; color: var(--muted); }
.compare { list-style: none; margin: 0; padding: 0; }
.compare li { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 20px 0; border-top: 1px solid var(--line); }
.compare p { margin: 0; }
.compare .was span { color: var(--muted); background: linear-gradient(currentColor, currentColor) 0 58% / 100% 1.5px no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.compare .now { color: var(--ink); font-size: clamp(18px, 2vw, 22px); line-height: 1.4; font-weight: 500; }

/* «Эксперт»: две живые панели */
.live { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; margin-top: 48px; align-items: start; }
.panel { background: var(--tint); border-radius: 16px; padding: 28px; }
.panel h3 { font-size: 24px; font-weight: 500; }
.panel h3 strong { font-weight: 600; }
.panel > p { margin: 8px 0 20px; }
.panel > p.fine { margin: 16px 0 0; }
.alerts, .bars { list-style: none; margin: 0; padding: 0; }
.alerts li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px 14px 40px; margin-bottom: 8px; color: var(--ink); position: relative; font-weight: 500; }
.alerts li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: #c0392b; }
.bars li { display: grid; grid-template-columns: 152px 1fr; gap: 12px; align-items: center; padding: 5px 0; font-size: 14px; color: var(--ink); }
.bars svg { display: block; width: 100%; height: 14px; background: #fff; border-radius: 4px; overflow: hidden; }
.bars .bar { fill: #1c6670; transform-box: fill-box; transform-origin: left center; }
.also { margin-top: var(--section); }
.also + .outputs { margin-top: 16px; }

/* калькулятор */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; margin-top: 32px; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.calc-in, .calc-out { padding: clamp(24px, 3.4vw, 40px); }
.calc label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; color: var(--ink); font-weight: 500; }
.calc label output { font-size: 28px; font-weight: 600; white-space: nowrap; }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 4px 0 28px; --fill: 17%; cursor: pointer; }
.calc input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--ink) var(--fill), #dde2ea var(--fill)); }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--bolt); border: 3px solid var(--ink); }
.calc input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: #dde2ea; }
.calc input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--ink); }
.calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--bolt); border: 3px solid var(--ink); }
.calc-out { background: var(--night); color: var(--night-text); }
.calc-out p { margin: 0 0 4px; }
.calc-out .big strong { color: #fff; font-size: clamp(44px, 6vw, 68px); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; margin-right: 8px; }
.calc-out b { color: #fff; font-weight: 600; }
.calc-out .each { margin: 20px 0 24px; padding-top: 20px; border-top: 1px solid var(--night-line); font-size: 18px; }
.calc + .fine { margin-top: 16px; }
.calc-out .btn.bolt { color: var(--ink); }

/* призыв попробовать */
section.call { background: var(--bolt); color: var(--ink); text-align: center; border: 0; }
.call h2 { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -0.03em; }
.call p { max-width: 56ch; margin-inline: auto; font-size: 19px; color: #29230f; }
.call .row { justify-content: center; margin-top: 32px; font-size: 16px; }
.call .btn:not(.dark) { background: transparent; border-color: rgba(17, 24, 39, .5); }
.call .btn.dark { color: #fff; }
.call a:focus-visible { outline-color: var(--ink); }

.sticky-cta { display: none; }

/* движение: только когда скрипт включил класс motion; одна кривая, появление из мягкого сдвига */
.motion .demo-files li, .motion .demo-rows li, .motion .demo-done, .motion .demo-more { opacity: 0; transform: translateY(10px); }
.motion .demo.in .demo-files li, .motion .demo.in .demo-rows li, .motion .demo.in .demo-done, .motion .demo.in .demo-more { opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.motion .demo.in .demo-files li:nth-child(1) { transition-delay: 0ms; }
.motion .demo.in .demo-files li:nth-child(2) { transition-delay: 80ms; }
.motion .demo.in .demo-files li:nth-child(3) { transition-delay: 160ms; }
.motion .demo.in .demo-rows li:nth-child(1) { transition-delay: 450ms; }
.motion .demo.in .demo-rows li:nth-child(2) { transition-delay: 540ms; }
.motion .demo.in .demo-rows li:nth-child(3) { transition-delay: 630ms; }
.motion .demo.in .demo-rows li:nth-child(4) { transition-delay: 720ms; }
.motion .demo.in .demo-rows li:nth-child(5) { transition-delay: 810ms; }
.motion .demo.in .demo-rows li:nth-child(6) { transition-delay: 900ms; }
.motion .demo.in .demo-rows li:nth-child(7) { transition-delay: 990ms; }
.motion .demo.in .demo-more { transition-delay: 1150ms; }
.motion .demo.in .demo-done { transition-delay: 2300ms; }
.motion .compare .was span { background-size: 0% 1.5px; transition: background-size .6s var(--ease) .15s; }
.motion .compare .now { opacity: 0; transform: translateX(-16px); }
.motion .compare li.in .was span { background-size: 100% 1.5px; }
.motion .compare li.in .now { opacity: 1; transform: none; transition: opacity .4s var(--ease) .45s, transform .6s var(--ease) .45s; }
.motion .alerts li { opacity: 0; transform: translateY(12px); }
.motion .panel.in .alerts li { opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.motion .panel.in .alerts li:nth-child(1) { transition-delay: 200ms; }
.motion .panel.in .alerts li:nth-child(2) { transition-delay: 340ms; }
.motion .panel.in .alerts li:nth-child(3) { transition-delay: 480ms; }
.motion .panel.in .alerts li:nth-child(4) { transition-delay: 620ms; }
.motion .bars .bar { transform: scaleX(0); }
.motion .panel.in .bars .bar { transform: scaleX(1); transition: transform .6s var(--ease); }
.motion .panel.in .bars li:nth-child(1) .bar { transition-delay: 150ms; }
.motion .panel.in .bars li:nth-child(2) .bar { transition-delay: 260ms; }
.motion .panel.in .bars li:nth-child(3) .bar { transition-delay: 370ms; }
.motion .panel.in .bars li:nth-child(4) .bar { transition-delay: 480ms; }
.motion .panel.in .bars li:nth-child(5) .bar { transition-delay: 590ms; }
.motion .panel.in .bars li:nth-child(6) .bar { transition-delay: 700ms; }
.motion .panel.in .bars li:nth-child(7) .bar { transition-delay: 810ms; }
.motion .panel.in .bars li:nth-child(8) .bar { transition-delay: 920ms; }
.motion .panel.in .bars li:nth-child(9) .bar { transition-delay: 1030ms; }
.motion .flow li { opacity: 0; transform: translateY(28px); }
.motion .flow.in li { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.motion .flow.in li:nth-child(2) { transition-delay: 140ms; }
.motion .flow.in li:nth-child(3) { transition-delay: 280ms; }
.motion .call .btn.dark { transform: scale(.94); }
.motion .call .in .btn.dark { transform: none; transition: transform .6s cubic-bezier(.34, 1.56, .64, 1) .25s; }

@media (max-width: 920px) {
  .hero .wrap, .live, .calc { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .compare-head { display: none; }
  .compare { margin-top: 24px; }
  .compare li { grid-template-columns: 1fr; gap: 6px; }
  .panel { padding: 20px 16px; }
  .bars li { grid-template-columns: 120px 1fr; gap: 8px; font-size: 13px; }
  .demo-card { padding: 16px; }
  .demo-rows li { grid-template-columns: minmax(0, 1fr) 80px; gap: 8px; }
  .demo-rows em { display: none; }
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; transform: translateY(calc(100% + 24px)); visibility: hidden;
    transition: transform .35s var(--ease), visibility 0s .35s; }
  .sticky-cta.show { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  .sticky-cta .btn { width: 100%; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .4); }
  .call .row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* условия и конфиденциальность */
.legal h1 { font-size: clamp(28px, 4vw, 40px); }
.legal h2 { font-size: 26px; margin-top: 56px; scroll-margin-top: 90px; }
.legal h3 { font-size: 18px; margin: 28px 0 8px; }
.legal li { margin-bottom: 8px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; }
footer .foot-note { grid-column: 1 / -1; margin: 24px 0 0; font-size: 14px; }

/* разделы проектов в начале главной */
.hero-text > p strong { font-weight: 600; color: var(--ink); }
.hero-text > p.to-kinds { margin-top: 8px; font-size: 16px; }
#razdely .intro { margin: 12px 0 0; max-width: 62ch; }
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; margin-top: 40px; }
.kinds h3 { font-size: 20px; font-weight: 600; margin: 0; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.kinds ul { list-style: none; margin: 0; padding: 0; }
.kinds li { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15px; }
.kinds-more { font-size: 18px; font-weight: 600; margin: 48px 0 12px; }
.kinds-extra { margin: 0; }
.kinds-extra > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 8px 32px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.kinds-extra dt { color: var(--ink); font-weight: 500; }
.kinds-extra dd { margin: 0; }
.kinds-expert { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 48px; }
.kinds-expert li { padding: 8px 0; border-top: 1px solid var(--line); break-inside: avoid; font-size: 15px; color: var(--ink); }
@media (max-width: 860px) {
  .kinds, .kinds-extra > div { grid-template-columns: minmax(0, 1fr); }
}

/* полоса о монтаже в самом начале главной */
.montage-note { background: #121a28; color: #fff; padding-block: 12px; }
.montage-note .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; font-size: 15px; }
.montage-note p { margin: 0; color: #fff; font-weight: 500; }
.montage-note a { color: var(--bolt); text-decoration: underline; text-underline-offset: 4px; padding-block: 4px; }
.montage-note a:focus-visible { outline: 2px solid var(--bolt); outline-offset: 3px; }

/* листы готовых отчётов */
.report-block { margin: 64px 0 32px; scroll-margin-top: 90px; }
.report-block > h3 { font-size: 24px; font-weight: 500; }
.report-block > .fine { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.report-block h4 { margin: 32px 0 16px; font-size: 17px; font-weight: 600; color: var(--ink); }
.reports { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 24px 20px; align-items: start; }
.reports figure { margin: 0; }
.reports a { display: block; aspect-ratio: 7 / 5; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 18px rgba(17, 24, 39, .08); }
.reports a:hover { border-color: var(--ink); }
.reports a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.reports img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: top center; }
.reports figcaption { margin-top: 8px; font-size: 14px; color: var(--ink); }
