/* Level Up AI · Systema style (MotionSites «Systema»): black, Inter in hero, Urbanist in sections, sharp cards */
:root {
  --bg: #000;
  --card: #111;
  --card-2: #161616;
  --line: #222;
  --line-2: #2e2e2e;
  --ink: #fff;
  --ink-2: #b3b3b3;
  --ink-3: #8a8a8a;
  --gold: #f0b25a;
  --green: #38d39f;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1200px;
  --hero: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sec: "Geologica", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Space Mono", "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --expo: cubic-bezier(.16, 1, .3, 1);
  --quint: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--ink); font-family: var(--sec); font-size: 17px; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: #000; border-bottom: 1px solid #111; }
.nav__in { height: 68px; display: flex; align-items: center; gap: 28px; font-family: var(--hero); font-size: 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; letter-spacing: -.01em; }
.logo__tile { width: 32px; height: 32px; border-radius: 9px; background: #1a1a1a; border: 1px solid #2a2a2a; display: grid; place-items: center; }
.logo__tile svg { width: 20px; height: 20px; }
.nav__links { display: flex; gap: 26px; margin-left: 12px; color: var(--ink-2); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: #fff; }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav__login { color: var(--ink-2); }
.nav__login:hover { color: #fff; }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 10px; width: 20px; height: 1.5px; background: #fff; content: ""; transition: transform .3s var(--quint), top .3s var(--quint), opacity .2s; }
.burger span { top: 19px; }
.burger span::before { left: 0; top: -6px; }
.burger span::after { left: 0; top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }
.menu { position: fixed; inset: 68px 0 0; background: #000; z-index: 49; display: flex; flex-direction: column; gap: 6px; padding: 28px var(--gut) 40px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; font-family: var(--hero); }
.menu-open .menu { opacity: 1; visibility: visible; }
.menu a.menu__link { font-size: 26px; padding: 10px 0; border-bottom: 1px solid #151515; letter-spacing: -.02em; }
.menu .btn { margin-top: 18px; }
.menu-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; font-family: var(--hero); font-size: 15px; font-weight: 500; letter-spacing: -.01em; border: 1px solid transparent; border-radius: 0; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--white { background: #fff; color: #000; }
.btn--white:hover { background: #e6e6e6; }
.btn--line { border-color: #3a3a3a; color: #fff; }
.btn--line:hover { border-color: #fff; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--hero); font-size: 15px; font-weight: 500; color: #fff; border-bottom: 1px solid #3a3a3a; padding-bottom: 3px; }
.link-arrow:hover { border-color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - 68px); display: flex; align-items: center; overflow: hidden; font-family: var(--hero); }
.hero__art { position: absolute; inset: 0; z-index: 0; }
.hero__art canvas { width: 100%; height: 100%; display: block; }
.hero__fade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.85) 34%, rgba(0,0,0,0) 62%); pointer-events: none; }
.hero__in { position: relative; z-index: 2; padding-top: clamp(48px, 8vh, 96px); padding-bottom: clamp(56px, 10vh, 120px); }
.hero__copy { max-width: 780px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border: 1px solid #2a2a2a; padding: 6px 10px; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.h1 { margin-top: 26px; font-family: var(--hero); font-weight: 400; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.035em; }
.mask { display: block; overflow: hidden; padding-bottom: .06em; }
.mask > span { display: block; }
.hero__sub { margin-top: 22px; max-width: 520px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; color: var(--ink-3); }
.hero .btn-row { margin-top: 32px; }
.facts { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.facts li { border: 1px solid #262626; padding: 6px 10px; color: var(--ink-2); }
.facts li.is-gold { color: var(--gold); border-color: rgba(240,178,90,.4); }

/* hidden start state for the entrance (set by the inline head script, removed by JS) */
.armed [data-enter] { opacity: 0; }
.armed [data-line] { transform: translateY(118%); }

/* ---------- Sections ---------- */
.sec { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.sec--tight { padding-top: 0; }
.sec--line { border-top: 1px solid #111; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.h2 { margin-top: 16px; font-family: var(--sec); font-weight: 500; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -.025em; }
.h2 .mask > span { display: block; }
.lead { margin-top: 18px; max-width: 640px; color: var(--ink-3); font-size: clamp(16px, 1.3vw, 18px); }
.sec__head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec__head .lead { margin-top: 0; }
.sec__head--center { display: block; text-align: center; }
.sec__head--center .lead { margin: 18px auto 0; }

/* strip «Работаем с» */
.strip { border-top: 1px solid #111; border-bottom: 1px solid #111; padding: 26px 0; }
.strip__in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; }
.strip__label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.strip__brands { display: flex; flex-wrap: wrap; gap: 12px 34px; font-family: var(--sec); font-weight: 600; font-size: 19px; color: #9a9a9a; letter-spacing: -.01em; }
.strip__nums { margin-left: auto; display: flex; flex-wrap: wrap; gap: 10px 28px; font-family: var(--hero); font-size: 14px; color: var(--ink-2); }
.strip__nums b { color: #fff; font-weight: 500; font-size: 18px; margin-right: 6px; }

/* ---------- Systema cards ---------- */
.systems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.systems-card { background: var(--card); display: flex; flex-direction: column; padding: 28px 28px 30px; min-height: 100%; }
.systems-card.is-inverted { flex-direction: column-reverse; justify-content: flex-end; }
.systems-art { height: 220px; display: grid; place-items: center; margin-bottom: 26px; }
.systems-card.is-inverted .systems-art { margin: 26px 0 0; }
.systems-art svg { width: 100%; max-width: 270px; height: 100%; overflow: visible; }
.systems-copy h3 { font-family: var(--sec); font-weight: 600; font-size: 22px; letter-spacing: -.015em; line-height: 1.2; }
.systems-copy p { margin-top: 10px; color: #999; font-size: 16px; }
.systems-copy .tag { display: block; margin-bottom: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.systems-copy .btn { margin-top: 22px; }

.d-plate-a{--ay:9.6px;--t:2.9s}
.d-plate-b{--ay:6.9px;--t:3.4s}
.d-plate-c{--ay:4.2px;--t:3.9s}
.d-plate-d{--ay:2.1px;--t:4.6s}
.d-src-t{--ax:1.5px;  --ay:7.65px;--t:3.6s}
.d-src-l{--ax:9px;    --ay:0.45px;--t:3.1s}
.d-src-r{--ax:-7.29px;--ay:-4.17px;--t:4.2s}
.d-node-t{--ay:5.4px; --t:3.3s}
.d-node-b{--ay:-5.1px;--t:4.3s}
.d-node-l{--ax:6.3px; --t:3s}
.d-node-r{--ax:-6px;  --t:3.8s}
.section-two.s2-armed [data-enter2]{opacity:0}
.section-two.s2-armed [data-line2]{transform:translateY(118%)}
.section-two.s2-entering [data-enter2],
.section-two.s2-entering [data-line2]{transition:none!important}
.amb { transform-box: fill-box; transform-origin: center; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #1a1a1a; border: 1px solid #1a1a1a; }
.steps li { background: #000; padding: 26px 24px 30px; }
.steps .n { font-family: var(--mono); font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.steps h3 { margin-top: 18px; font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
.steps p { margin-top: 8px; color: var(--ink-3); font-size: 15.5px; }
.yes-line { margin-top: 28px; display: flex; align-items: center; gap: 14px; font-family: var(--hero); font-size: clamp(18px, 2vw, 24px); letter-spacing: -.02em; }
.yes-line svg { width: 28px; height: 28px; flex: none; color: var(--green); }

/* ---------- Cards grid (experience, roles) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.card .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.card h3, .card h4 { font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.card p { color: #999; font-size: 15.5px; }

/* ---------- Guarantee ---------- */
.guar { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start; border: 1px solid #222; padding: clamp(24px, 4vw, 40px); }
.guar svg { width: 44px; height: 44px; color: var(--gold); }
.guar h3 { font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; line-height: 1.2; }
.guar p { margin-top: 10px; color: var(--ink-3); max-width: 760px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__aside .btn { margin-top: 26px; }
.qa { border-top: 1px solid #222; }
.qa:last-child { border-bottom: 1px solid #222; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 14px; height: 14px; flex: none; margin-top: 6px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: #fff; transition: transform .3s var(--quint); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa__a { padding: 0 0 22px; color: var(--ink-3); max-width: 640px; }

/* ---------- Final + footer ---------- */
.final { text-align: center; }
.final .h2 { max-width: 860px; margin-left: auto; margin-right: auto; }
.final .lead { margin-left: auto; margin-right: auto; }
.final .btn-row { justify-content: center; margin-top: 34px; }
.footer { border-top: 1px solid #111; padding: 34px 0 40px; font-family: var(--hero); font-size: 14px; color: var(--ink-3); }
.footer__in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer nav a:hover { color: #fff; }
.footer__copy { margin-left: auto; }

/* ---------- Chat mock (crm hero, demo) ---------- */
.phone { width: 100%; max-width: 380px; background: #0c0c0c; border: 1px solid #262626; border-radius: 28px; padding: 14px; box-shadow: 0 40px 120px rgba(240,178,90,.08); }
.phone__bar { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; border-bottom: 1px solid #1c1c1c; font-family: var(--hero); }
.phone__ava { width: 34px; height: 34px; border-radius: 50%; background: #1b1b1b; display: grid; place-items: center; }
.phone__ava svg { width: 18px; height: 18px; }
.phone__name { font-size: 14px; font-weight: 500; }
.phone__sub { font-size: 12px; color: var(--ink-3); }
.chat { display: flex; flex-direction: column; gap: 10px; padding: 16px 4px 6px; font-family: var(--hero); font-size: 14px; line-height: 1.45; }
.msg { max-width: 88%; padding: 10px 12px; border-radius: 14px; background: #1a1a1a; }
.msg--in { align-self: flex-start; border-bottom-left-radius: 4px; }
.msg--out { align-self: flex-end; background: #fff; color: #000; border-bottom-right-radius: 4px; }
.msg time { display: block; margin-top: 4px; font-size: 11px; color: var(--ink-3); text-align: right; }
.msg--out time { color: #666; }
.msg__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.msg__btns span { display: block; text-align: center; padding: 8px 6px; border: 1px solid #333; border-radius: 8px; font-size: 13px; }
.msg__btns span.is-hit { background: var(--green); color: #000; border-color: var(--green); }
.msg--note { align-self: center; background: transparent; border: 1px dashed #2a2a2a; color: var(--ink-3); font-size: 12px; text-align: center; }
.chat .msg { opacity: 1; transform: none; }
.chat.is-playing .msg { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--quint), transform .45s var(--quint); }
.chat.is-playing .msg.is-on { opacity: 1; transform: none; }

.hero--split .hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero--split .hero__art { opacity: .45; }
.hero--split .phone-wrap { display: flex; justify-content: flex-end; }

/* ---------- Praktikum blocks ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tabs button { font-family: var(--hero); font-size: 14px; padding: 9px 16px; border: 1px solid #2a2a2a; color: var(--ink-2); }
.tabs button[aria-selected="true"] { background: #fff; color: #000; border-color: #fff; }
.demo { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.demo__pane { display: none; }
.demo__pane.is-active { display: block; }
.summary { margin-top: 16px; background: #0f0f0f; border: 1px solid #222; border-left: 2px solid var(--gold); padding: 16px 18px; font-family: var(--hero); font-size: 14px; }
.summary .eyebrow { display: block; margin-bottom: 8px; }
.summary p { color: var(--ink-2); }
.summary p b { color: #fff; font-weight: 500; }
.note { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.docs { display: flex; gap: 8px; margin-bottom: 4px; }
.docs span { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; padding: 6px 8px; background: #151515; border: 1px solid #262626; color: var(--ink-2); }

.niches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: #1a1a1a; border: 1px solid #1a1a1a; }
.niches li { background: #000; padding: 24px 20px 26px; }
.niches .n { font-family: var(--mono); font-size: 12px; color: var(--gold); }
.niches h3 { margin-top: 14px; font-weight: 600; font-size: 18px; line-height: 1.25; }
.niches p { margin-top: 8px; color: var(--ink-3); font-size: 15px; }

.notifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.notif { background: var(--card); padding: 22px 22px 24px; font-family: var(--hero); }
.notif__bar { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); }
.notif__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.notif__time { margin-top: 10px; font-size: 40px; font-weight: 300; letter-spacing: -.03em; }
.notif__msg { display: inline-block; margin-top: 10px; background: #1c1c1c; padding: 8px 12px; border-radius: 12px; font-size: 14px; }
.notif p { margin-top: 14px; color: #999; font-family: var(--sec); font-size: 15.5px; }
.out-line { margin-top: 34px; font-family: var(--hero); font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.02em; max-width: 760px; }
.out-line b { font-weight: 400; color: var(--gold); }

.timeline { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.tl li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid #1c1c1c; }
.tl li:last-child { border-bottom: 1px solid #1c1c1c; }
.tl .t { font-family: var(--mono); font-size: 13px; color: var(--gold); padding-top: 3px; }
.tl h3 { font-weight: 600; font-size: 19px; }
.tl p { margin-top: 6px; color: #999; font-size: 15.5px; }
.tl .out { margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.tl .out::before { content: "→ "; color: var(--green); }
.bring { background: var(--card); padding: 26px; position: sticky; top: 92px; }
.bring h3 { font-weight: 600; font-size: 19px; }
.bring ul { margin-top: 14px; display: grid; gap: 10px; color: var(--ink-2); font-size: 15.5px; }
.bring li { padding-left: 22px; position: relative; }
.bring li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 1.5px; background: var(--gold); }
.bring p { margin-top: 16px; color: var(--ink-3); font-size: 14px; }

.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.calc__in, .calc__out { background: var(--card); padding: 28px; }
.calc label { display: block; margin-bottom: 22px; font-size: 15.5px; color: var(--ink-2); }
.calc label b { float: right; color: #fff; font-family: var(--hero); font-weight: 500; }
.calc input[type=range] { width: 100%; margin-top: 12px; accent-color: #fff; }
.calc__out { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.calc__big { font-family: var(--hero); font-size: clamp(40px, 5vw, 64px); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.calc__big small { display: block; margin-top: 8px; font-size: 15px; color: var(--ink-3); letter-spacing: 0; font-family: var(--sec); }

.hosts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.host { background: var(--card); padding: 26px; display: grid; grid-template-columns: 84px 1fr; gap: 20px; }
.host__pic { width: 84px; height: 84px; background: #1a1a1a; border: 1px solid #2a2a2a; display: grid; place-items: center; font-family: var(--hero); font-size: 26px; color: var(--ink-2); }
.host h3 { font-weight: 600; font-size: 20px; }
.host .tag { display: block; margin-top: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.host p { margin-top: 10px; color: #999; font-size: 15.5px; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.tier { background: var(--card); padding: 28px; display: flex; flex-direction: column; border: 1px solid transparent; }
.tier.is-rec { border-color: #fff; }
.tier__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tier__top h3 { font-weight: 600; font-size: 20px; }
.tier__rec { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: #fff; color: #000; padding: 4px 8px; }
.tier__price { margin-top: 18px; font-family: var(--hero); font-size: 46px; font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.tier__price small { font-size: 18px; color: var(--ink-3); margin-left: 4px; letter-spacing: 0; }
.tier__for { margin-top: 12px; color: var(--ink-2); font-size: 15.5px; }
.tier ul { margin-top: 18px; display: grid; gap: 10px; color: #999; font-size: 15px; flex: 1; }
.tier li { padding-left: 22px; position: relative; }
.tier li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 6px; border-left: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: rotate(-45deg); }
.tier .btn { margin-top: 24px; }
.tier-notes { margin-top: 22px; display: grid; gap: 6px; color: var(--ink-3); font-size: 15px; }
.tier-notes b { color: #fff; font-weight: 500; }

.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.box { background: var(--card); padding: 28px; }
.box h3 { font-weight: 600; font-size: 20px; }
.box ul { margin-top: 14px; display: grid; gap: 10px; color: #999; font-size: 15.5px; }
.box li { padding-left: 22px; position: relative; }
.box li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 1.5px; background: var(--gold); }
.box--test { border-left: 2px solid var(--green); }

.dfy { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.chain li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid #1c1c1c; }
.chain li:first-child { border-top: 0; }
.chain .n { font-family: var(--mono); font-size: 12px; color: var(--gold); padding-top: 4px; }
.chain h3 { font-weight: 600; font-size: 18px; }
.chain p { margin-top: 4px; color: #999; font-size: 15px; }
.prices { display: grid; gap: 16px; align-content: start; }
.price-box { background: var(--card); padding: 24px; }
.price-box h4 { font-weight: 600; font-size: 17px; }
.price-box .v { display: block; margin-top: 8px; font-family: var(--hero); font-size: 30px; font-weight: 300; letter-spacing: -.03em; }
.price-box p { margin-top: 8px; color: #999; font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .niches { grid-template-columns: repeat(3, 1fr); }
  .hero--split .hero__in { grid-template-columns: 1fr; }
  .hero--split .phone-wrap { justify-content: flex-start; }
  .hero--split .hero__art { opacity: .16; }
}
@media (max-width: 960px) {
  .nav__links, .nav__login { display: none; }
  .burger { display: block; }
  .nav__right .btn { display: none; }
  .sec__head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .systems, .cards, .notifs, .tiers { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .faq, .timeline, .demo, .calc, .dfy { grid-template-columns: 1fr; }
  .bring { position: static; }
  .hero__fade { background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.75) 55%, #000 100%); }
  .strip__nums { margin-left: 0; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .systems, .cards, .notifs, .tiers, .steps, .hosts, .split2, .niches { grid-template-columns: 1fr; }
  .systems-art { height: 180px; }
  .tl li { grid-template-columns: 1fr; gap: 6px; }
  .host { grid-template-columns: 64px 1fr; }
  .host__pic { width: 64px; height: 64px; font-size: 20px; }
  .guar { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .footer__copy { margin-left: 0; }
  .strip__brands { font-size: 17px; gap: 10px 22px; }
  .hero { min-height: auto; align-items: flex-end; }
  .hero__in { padding-top: 46vh; }
  .hero--split .hero__in { padding-top: 40px; }
}

/* 01.12 fonts as on tray.ai (Viktoria): Manrope headings tight, mono labels */
h1, h2, h3 { letter-spacing: -0.03em; }
.h1, h1, h2, h3, .h2 { font-family: var(--sec); }
.h1 { font-weight: 400; }

/* 01.12 lead form → Telegram group */
.lead-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.lead-alt { margin-top: 18px; color: var(--ink-3); font-size: 15px; }
.lead-alt a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.lead-form { display: grid; gap: 16px; border: 1px solid var(--line); padding: 28px; background: #070707; }
.lead-form label { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); font-family: var(--mono); letter-spacing: .02em; }
.lead-form label span { color: var(--ink-3); }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; background: #000; color: var(--ink); border: 1px solid var(--line-2); border-radius: 0; padding: 13px 14px; font: 16px/1.4 var(--hero); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--gold); }
.lead-form textarea { resize: vertical; min-height: 84px; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-form .btn { justify-self: start; }
.lead-form__note { font-size: 13px; color: var(--ink-3); }
.lead-form__note a { color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.lead-form__status { min-height: 1.4em; font-size: 15px; }
.lead-form__status.ok { color: #7ee2a8; }
.lead-form__status.err { color: #ff8a7a; }
.lead-form.is-sent label, .lead-form.is-sent .btn { opacity: .4; pointer-events: none; }
@media (max-width: 900px) { .lead-grid { grid-template-columns: 1fr; gap: 28px; } .lead-form { padding: 20px; } }

/* 01.12 hero loop videos (Blender wireframe, seamless) */
.hero__video { position: absolute; top: 0; right: 0; bottom: 0; left: auto; width: 80%; height: 100%; object-fit: contain; object-position: right center; background: #000; }
@media (max-width: 767px) {
  .hero__video { inset: 0 0 auto 0; width: 100%; height: 56vh; object-fit: cover; object-position: center center; }
}
@media (prefers-reduced-motion: reduce) { .hero__video { animation: none; } }

/* 01.12 product card loops (Blender, black bg blended into the card) */
.systems-art .card-vid { width: 100%; max-width: 340px; height: 100%; object-fit: contain; mix-blend-mode: screen; display: block; filter: contrast(1.06) brightness(.98); -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 100%); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.systems-card:hover .card-vid { transform: scale(1.03); }

/* 01.12 iPhone: never show the native Play button over hero/card loops; WebP fallback keeps the video box */
video.hero__video::-webkit-media-controls, video.card-vid::-webkit-media-controls,
video.hero__video::-webkit-media-controls-start-playback-button, video.card-vid::-webkit-media-controls-start-playback-button,
video.hero__video::-webkit-media-controls-overlay-play-button, video.card-vid::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; opacity: 0; }

/* 01.12 phone menu: smaller links */
.menu a.menu__link { font-size: 19px; padding: 9px 0; letter-spacing: -.01em; }

/* 01.12 phone: hero video becomes the background behind the text, buttons visible on the first screen */
@media (max-width: 767px) {
  .hero { min-height: calc(100svh - 68px); align-items: flex-end; }
  .hero__in, .hero--split .hero__in { padding-top: 28px; padding-bottom: 32px; }
  .hero__video { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; opacity: .6; }
  .hero__fade { background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.25) 30%, rgba(0,0,0,.8) 62%, #000 100%); }
}

/* 01.12 phone: whole object visible (smaller), still behind the text */
@media (max-width: 767px) {
  .hero__video { inset: 8px 0 auto 0; height: min(92vw, 52svh); object-fit: contain; object-position: center top; opacity: .7; }
  .hero__fade { background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.1) 28%, rgba(0,0,0,.75) 52%, #000 72%); }
}

/* 01.12 phone menu: links the size of button text */
.menu a.menu__link { font-size: 15px; font-weight: 500; padding: 13px 0; letter-spacing: 0; }

/* 01.12 phone /crm: the rack sits right behind the text, keep it dim from the first frame (poster and video alike) */
@media (max-width: 767px) {
  .hero--split .hero__video { opacity: .75; filter: none; }
}

/* 01.12 /crm: the video sits inside .hero__art whose enter animation started at full opacity and then dropped to .45/.16 → «bright first, grey after».
   Container stays at 1, the video itself carries one constant opacity. */
.hero--split .hero__art { opacity: 1 !important; transform: none !important; }
.hero--split .hero__video { opacity: .45; }
@media (max-width: 1080px) { .hero--split .hero__video { opacity: .35; } }
@media (max-width: 767px) { .hero--split .hero__video { opacity: .5; filter: none; } }

/* 01.12 phone /crm: rack fades out above the paragraph, text gets a soft dark halo */
@media (max-width: 767px) {
  .hero--split .hero__video { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 38%, rgba(0,0,0,.35) 60%, transparent 78%); mask-image: linear-gradient(180deg, #000 0%, #000 38%, rgba(0,0,0,.35) 60%, transparent 78%); }
  .hero--split .hero__copy p, .hero--split .hero__copy .hero__sub { color: #c9c9c9; text-shadow: 0 0 10px #000, 0 0 20px #000, 0 1px 2px #000; }
  .hero--split .hero__copy h1 { text-shadow: 0 0 14px #000, 0 0 28px rgba(0,0,0,.9); }
}

/* 01.12 «Работаем с»: real logos of the tools we work with (Simple Icons), slow marquee */
.strip__in { flex-wrap: wrap; }
.logos { flex: 1 1 520px; min-width: 0; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__track { display: flex; flex: none; gap: 40px; padding-right: 40px; list-style: none; margin: 0; animation: logos-run 38s linear infinite; }
.logos__track li { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-family: var(--sec); font-weight: 500; font-size: 17px; color: #a8a8a8; }
.logos__track img { width: 22px; height: 22px; filter: invert(1) brightness(.72); }
.logo-k { width: 22px; height: 22px; display: grid; place-items: center; border: 1.5px solid #b8b8b8; border-radius: 5px; font: 700 13px/1 var(--sec); color: #b8b8b8; }
@keyframes logos-run { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .logos__track { animation: none; } .logos__track[aria-hidden] { display: none; } .logos { flex-wrap: wrap; } }
@media (max-width: 767px) { .logos { flex-basis: 100%; } .logos__track { gap: 28px; padding-right: 28px; animation-duration: 30s; } .logos__track li { font-size: 15px; } }
