/* Ritmo OPS — главная (ES/RU/EN/UK). Фирменные цвета взяты из favicon.svg, og.png и style.css:
   фиолетовый градиент #c7b8f2 → #8a74d2, акцент #6d58b8, чернила #2e2745, фон #f6f3fd. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap&subset=cyrillic,latin');

:root {
  --ground: #f6f3fd; --surface: #fff; --surface-2: #faf8ff;
  --ink: #2e2745; --ink-2: #4a4366; --muted: #615a82; --line: #e7e1f7; --line-2: #d9cef7;
  --accent: #6d58b8; --accent-2: #8a74d2; --accent-dark: #5c48a3; --soft: #ece6fb; --lilac: #c7b8f2;
  --deep: #241c3f; --deep-2: #2f2652;
  --ok: #2f7d5c; --ok-bg: #e3f3ec; --warn: #a8480a; --warn-bg: #fdeede; --leak: #f08a24; --info: #5c48a3; --info-bg: #ece6fb;
  --r: 16px; --wrap: 1200px;
  --head: 'Manrope', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; letter-spacing: -.02em; color: var(--ink); }
p { margin: 0; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* ── шапка ── */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(246,243,253,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 22px; letter-spacing: -.03em; color: var(--ink); }
.brand .mark { width: 38px; height: 38px; flex: none; }
.brand .mark svg { width: 100%; height: 100%; }
.brand .word { display: inline-flex; align-items: center; gap: 4px; }
.brand b { background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 3px 7px; border-radius: 6px; line-height: 1.3; }
.nav { display: flex; gap: 26px; margin-left: 28px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav a:hover { color: var(--accent); border-color: var(--accent); }
.head-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 2px; background: var(--soft); padding: 3px; border-radius: 10px; }
.lang a { font-size: 12.5px; font-weight: 700; color: var(--ink-2); padding: 5px 9px; border-radius: 7px; letter-spacing: .03em; }
.lang a:hover { color: var(--accent); }
.lang a[aria-current] { background: var(--surface); color: var(--accent); box-shadow: 0 1px 3px rgba(46,39,69,.12); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ''; transition: .2s; }
.burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); } .burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ── кнопки ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 14px; font-weight: 700; font-size: 15.5px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; white-space: nowrap; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(109,88,184,.32); }
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 12px 28px rgba(109,88,184,.4); }
.btn-outline { background: var(--surface); color: var(--accent); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--accent); background: var(--surface-2); }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { background: var(--soft); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; border-radius: 12px; }

/* ── герой ── */
.hero { position: relative; padding: 64px 0 72px; overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; }
.hero h1 { font-size: clamp(36px, 3.9vw, 58px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; margin: 20px 0 0; }
.hero h1 .leak { color: var(--accent); text-decoration: underline wavy var(--leak) 3px; text-underline-offset: 7px; text-decoration-skip-ink: none; }
.hero h1 .sub { display: block; margin-top: 18px; font-size: .5em; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; color: var(--ink-2); }
.hero .lead { margin-top: 24px; max-width: 560px; font-size: 17.5px; line-height: 1.65; color: var(--ink-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.points { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 10px; }
.points li { position: relative; padding-left: 30px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.points li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.4' fill='none' stroke='%236d58b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.pulse-line { position: absolute; left: 0; right: 0; bottom: 22px; height: 40px; opacity: .55; pointer-events: none; }
.pulse-line path { fill: none; stroke: var(--lilac); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* ── дашборд героя ── */
.dash { background: var(--deep); border-radius: 24px; padding: 14px; box-shadow: 0 34px 70px rgba(46,39,69,.28); position: relative; }
.dash-bar { display: flex; align-items: center; justify-content: space-between; color: #cfc6ee; font-size: 13px; padding: 4px 6px 12px; }
.dash-bar .dots { display: flex; gap: 6px; } .dash-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #4a3f78; }
.dash-bar .ttl { display: flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: .01em; }
.demo-pill { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; padding: 4px 9px; border-radius: 99px; background: var(--soft); color: var(--accent-dark); white-space: nowrap; }
.dash-body { background: var(--surface); border-radius: 16px; padding: 18px; }
.dash-ctl { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--soft); padding: 3px; border-radius: 11px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 7px 13px; font-size: 13px; font-weight: 700; color: var(--ink-2); border-radius: 8px; cursor: pointer; transition: background .15s, color .15s; white-space: nowrap; }
.seg button:hover { color: var(--accent); }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--surface); color: var(--accent); box-shadow: 0 1px 4px rgba(46,39,69,.16); }
.seg.state button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.leak-total { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 4px; flex-wrap: wrap; }
.leak-total .n { font: 800 clamp(34px, 4vw, 46px)/1 var(--head); letter-spacing: -.04em; color: var(--ink); transition: color .3s; }
.leak-total .l { font-size: 13px; color: var(--muted); font-weight: 600; }
.leak-total .delta { margin-left: auto; font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: var(--warn-bg); color: var(--warn); transition: .3s; }
.dash[data-state="after"] .leak-total .delta { background: var(--ok-bg); color: var(--ok); }
.bars { display: grid; gap: 11px; margin: 16px 0 18px; }
.brow .bl { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
.brow .bl span:last-child { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 700; }
.track { height: 10px; background: var(--soft); border-radius: 99px; overflow: hidden; }
.fill { height: 100%; width: 0; border-radius: 99px; background: var(--leak); transition: width .9s cubic-bezier(.2,.8,.2,1), background .5s; }
.dash[data-state="after"] .fill { background: var(--accent-2); }
.brow:hover .fill { filter: brightness(1.08); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; background: var(--surface-2); min-width: 0; }
.kpi small { display: block; font-size: 11px; line-height: 1.25; color: var(--muted); font-weight: 600; min-height: 28px; }
.kpi strong { display: block; font: 800 22px/1.1 var(--head); letter-spacing: -.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.chart { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 8px; background: var(--surface); }
.chart-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.chart-h small { font-weight: 500; color: var(--muted); font-size: 11px; }
.chart svg { width: 100%; height: 96px; margin-top: 4px; overflow: visible; }
.chart .ax { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); }
.dash-note { margin-top: 12px; font-size: 11.5px; color: var(--muted); }

/* ── полоса проблем ── */
.pains { background: var(--deep); color: #fff; padding: 44px 0 46px; }
.pains .eyebrow { color: var(--lilac); }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 22px; }
.pain { padding: 4px 26px 4px 0; margin-right: 26px; border-right: 1px solid rgba(255,255,255,.14); }
.pain:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.pain h3 { font-size: 18px; color: #fff; letter-spacing: -.01em; }
.pain h3::before { content: ''; display: block; width: 28px; height: 4px; border-radius: 4px; background: var(--leak); margin-bottom: 14px; }
.pain p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: #cfc6ee; }

/* ── секции ── */
.section { padding: 96px 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; margin-top: 14px; }
.sec-head .lead { font-size: 16.5px; color: var(--ink-2); line-height: 1.65; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.feat { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.feat:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(46,39,69,.12); border-color: var(--line-2); }
.feat .k { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; color: var(--accent); }
.feat .vis { margin: 18px 0 22px; height: 190px; border-radius: 14px; background: var(--ground); border: 1px solid var(--line); padding: 14px; overflow: hidden; }
.feat h3 { font-size: 22px; letter-spacing: -.025em; }
.feat p { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.feat.dark { background: var(--deep); border-color: var(--deep); }
.feat.dark .k { color: var(--lilac); } .feat.dark h3 { color: #fff; } .feat.dark p { color: #cfc6ee; }
.feat.dark .vis { background: #fff; border-color: transparent; }
.vis-plat .top { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 700; color: var(--ink-2); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.vis-plat .kp { display: flex; gap: 6px; margin: 10px 0; } .vis-plat .kp i { flex: 1; height: 26px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface-2); }
.vis-plat .bb { display: flex; align-items: flex-end; gap: 7px; height: 76px; border-bottom: 1px solid var(--line); padding: 0 4px; }
.vis-plat .bb b { flex: 1; border-radius: 4px 4px 0 0; background: var(--lilac); height: var(--h); transform-origin: bottom; animation: grow 1.1s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 70ms); }
.vis-plat .bb b.hi { background: var(--accent); }
@keyframes grow { from { transform: scaleY(0); } }
.vis-chat { display: flex; flex-direction: column; gap: 9px; background: var(--soft) !important; }
.vis-chat .hd { display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; color: var(--ink); padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.vis-chat .hd span { font-size: 9.5px; letter-spacing: .1em; color: var(--accent); }
.vis-chat .m { background: #fff; padding: 9px 11px; border-radius: 10px 10px 10px 2px; font-size: 11.5px; line-height: 1.4; color: var(--ink-2); max-width: 88%; }
.vis-chat .m.out { align-self: flex-end; background: var(--accent); color: #fff; border-radius: 10px 10px 2px 10px; }
.vis-chat .ft { margin-top: auto; font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.vis-chat .ft::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.vis-flow { display: flex; align-items: center; justify-content: center; gap: 4px; }
.vis-flow .nd { flex: 1; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 14px 4px; text-align: center; font-size: 11.5px; font-weight: 700; min-width: 0; }
.vis-flow .nd small { display: block; font-weight: 500; font-size: 9.5px; color: var(--muted); margin-top: 5px; }
.vis-flow .ar { color: var(--leak); font-weight: 800; position: relative; flex: none; animation: nudge 1.6s ease-in-out infinite; }
.vis-flow .ar:nth-of-type(2n) { animation-delay: .4s; }
@keyframes nudge { 50% { transform: translateX(4px); } }

.compact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.cmp { border: 1px solid var(--line); border-radius: 18px; background: var(--surface-2); padding: 22px 24px; transition: border-color .2s, background .2s; }
.cmp:hover { border-color: var(--accent-2); background: var(--surface); }
.cmp h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.cmp h3::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); flex: none; }
.cmp p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

/* ── отрасли ── */
.ind { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin-bottom: 8px; scrollbar-width: thin; }
.tabs button { flex: none; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-weight: 700; font-size: 14px; padding: 11px 18px; border-radius: 99px; cursor: pointer; transition: .15s; }
.tabs button:hover { border-color: var(--accent); color: var(--accent); }
.tabs button[aria-selected="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.ind-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: var(--ground); }
.ind-copy { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.ind-copy h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -.03em; }
.ind-copy p { margin-top: 14px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.ind-copy ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.ind-copy li { position: relative; padding-left: 28px; font-size: 15px; font-weight: 500; color: var(--ink); }
.ind-copy li::before { content: ''; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/17px no-repeat; }
.ind-copy .more { margin-top: 26px; align-self: flex-start; }
.screen { background: var(--surface); margin: 22px; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(46,39,69,.1); padding: 22px; min-width: 0; }
.screen-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.screen-h h4 { font-size: 17px; }
.screen .kp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.screen .kp div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.screen .kp small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.screen .kp strong { display: block; font: 800 24px/1.1 var(--head); margin-top: 6px; letter-spacing: -.03em; }
.rows { display: grid; gap: 8px; }
.rw { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; animation: rowin .45s both; animation-delay: calc(var(--i) * 80ms); }
.rw b { font-size: 14.5px; display: block; } .rw span.m { font-size: 12.5px; color: var(--muted); }
@keyframes rowin { from { opacity: 0; transform: translateY(8px); } }
.st { font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 99px; white-space: nowrap; }
.st.ok { background: var(--ok-bg); color: var(--ok); } .st.warn { background: var(--warn-bg); color: var(--warn); } .st.info { background: var(--info-bg); color: var(--info); }
.screen .foot { margin-top: 14px; font-size: 11.5px; color: var(--muted); }

/* ── накладные ── */
.inv { background: var(--deep); color: #fff; padding: 96px 0; overflow: hidden; }
.inv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.inv .eyebrow { color: var(--lilac); }
.inv h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.07; letter-spacing: -.035em; font-weight: 800; color: #fff; margin: 14px 0 20px; }
.inv h2 em { font-style: normal; color: var(--lilac); }
.inv .badge { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; padding: 5px 11px; border-radius: 99px; border: 1px solid rgba(199,184,242,.5); color: var(--lilac); margin-left: 10px; vertical-align: middle; }
.inv p.lead { font-size: 16.5px; line-height: 1.7; color: #d7d0f0; max-width: 540px; }
.inv ul { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; }
.inv li { position: relative; padding-left: 30px; font-size: 15.5px; color: #ece8fa; }
.inv li::before { content: ''; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--accent-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/19px no-repeat; }
.inv .links { display: flex; gap: 20px; margin-top: 22px; flex-wrap: wrap; }
.inv .links a { font-size: 14.5px; font-weight: 700; color: var(--lilac); border-bottom: 1px solid rgba(199,184,242,.4); padding-bottom: 2px; }
.inv .links a:hover { color: #fff; border-color: #fff; }
.app { background: var(--surface); color: var(--ink); border-radius: 20px; display: flex; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.app-side { width: 58px; background: var(--soft); display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 18px 0; }
.app-side .logo-s { width: 32px; height: 32px; }
.app-side i { width: 22px; height: 22px; border-radius: 7px; background: var(--lilac); opacity: .7; } .app-side i.on { background: var(--accent); opacity: 1; }
.app-main { padding: 22px; flex: 1; min-width: 0; }
.app-h { display: flex; justify-content: space-between; align-items: center; }
.app-h small { font-size: 11px; letter-spacing: .1em; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.app-h h3 { font-size: 20px; margin-top: 4px; }
.drop { margin: 18px 0 14px; border: 2px dashed var(--line-2); border-radius: 14px; background: var(--surface-2); padding: 20px; text-align: center; font-size: 13px; color: var(--muted); position: relative; overflow: hidden; }
.drop::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-2), transparent); top: 0; animation: scan 3s ease-in-out infinite; }
@keyframes scan { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 2px); opacity: 0; } }
.drop b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.doc { display: grid; grid-template-columns: 1.3fr 1fr auto auto; gap: 10px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.doc:last-of-type { border-bottom: 0; }
.doc .n { font-weight: 800; } .doc .s { color: var(--muted); } .doc .p { font-weight: 700; font-variant-numeric: tabular-nums; }
.app .foot { margin-top: 10px; font-size: 11.5px; color: var(--muted); }

/* ── процесс ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px 28px; position: relative; transition: transform .25s, border-color .25s; }
.step:hover { transform: translateY(-4px); border-color: var(--accent-2); }
.step::before { counter-increment: s; content: '0' counter(s); display: block; font: 800 40px/1 var(--head); letter-spacing: -.04em; color: var(--lilac); margin-bottom: 22px; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 44px; right: -21px; width: 22px; height: 2px; background: var(--line-2); z-index: 1; }
.step h3 { font-size: 20px; } .step p { margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }
.start { margin-top: 64px; background: var(--soft); border-radius: 26px; padding: 40px; display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: 36px; align-items: center; }
.start h2 { font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -.03em; line-height: 1.1; }
.start .lead { margin-top: 14px; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.start-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.start-items article { background: var(--surface); border-radius: 16px; padding: 22px 22px 24px; }
.start-items h3 { font-size: 17.5px; } .start-items p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin-top: 7px; }

/* ── контакты ── */
.contact { padding: 0 0 96px; }
.contact-card { background: var(--deep); border-radius: 30px; padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; color: #fff; position: relative; overflow: hidden; }
.contact-card .eyebrow { color: var(--lilac); }
.contact-card h2 { color: #fff; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.07; letter-spacing: -.035em; font-weight: 800; margin: 14px 0 20px; }
.contact-card h2 em { font-style: normal; color: var(--lilac); }
.contact-card .lead { font-size: 16.5px; line-height: 1.7; color: #d7d0f0; max-width: 460px; }
.facts { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; font-size: 15px; }
.facts li { display: flex; gap: 12px; align-items: baseline; color: #ece8fa; }
.facts span { min-width: 84px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--lilac); }
.facts a { border-bottom: 1px solid rgba(199,184,242,.4); font-weight: 600; } .facts a:hover { color: #fff; border-color: #fff; }
form.cf { display: grid; gap: 14px; background: var(--surface); color: var(--ink); border-radius: 22px; padding: 28px; align-content: start; }
.fld { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.fld input, .fld select, .fld textarea { width: 100%; border: 1.5px solid var(--line-2); background: var(--surface-2); border-radius: 12px; padding: 13px 14px; font-size: 15px; font-weight: 400; transition: border-color .15s, box-shadow .15s; }
.fld input::placeholder, .fld textarea::placeholder { color: #8a83a8; }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: var(--accent-2); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(109,88,184,.18); background: #fff; }
.fld.bad input { border-color: #c0392b; } .err { color: #b3261e; font-size: 12.5px; font-weight: 600; min-height: 0; }
.fld textarea { resize: vertical; min-height: 96px; }
.cf-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cf-note { font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.cf-msg { font-size: 13.5px; font-weight: 600; color: var(--ok); background: var(--ok-bg); padding: 10px 12px; border-radius: 10px; }
.cf-msg[hidden] { display: none; }

/* ── подвал ── */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.foot-in p { font-size: 14px; color: var(--muted); margin-top: 12px; max-width: 340px; }
.foot-in nav { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.foot-in nav a:hover { color: var(--accent); }
.legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; font-size: 12.5px; color: var(--muted); display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }

/* ── появление ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ── адаптив ── */
@media (min-width: 1181px) and (max-width: 1320px) { .nav { gap: 18px; margin-left: 14px; font-size: 14px; } }
@media (max-width: 1180px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 24px 18px; box-shadow: 0 18px 30px rgba(46,39,69,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .burger { display: flex; }
}
@media (max-width: 920px) { .head-cta { display: none; } }
@media (max-width: 1080px) {
  .hero-grid { gap: 36px; }
  .inv-grid { gap: 36px; }
  .contact-card { padding: 40px; gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); } .step:nth-child(2)::after { display: none; }
  .start { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .hero { padding: 40px 0 60px; }
  .hero-grid, .inv-grid, .ind-grid, .contact-card, .sec-head { grid-template-columns: 1fr; }
  .sec-head { gap: 16px; align-items: start; }
  .grid3, .compact { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .pain:nth-child(2) { border-right: 0; margin-right: 0; }
  .section, .inv { padding: 68px 0; }
  .feat .vis { height: 170px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .head-in { gap: 8px; } .head-right { gap: 8px; } .brand { font-size: 19px; gap: 8px; } .brand .mark { width: 32px; height: 32px; }
  .lang a { padding: 5px 6px; font-size: 12px; } .burger { width: 40px; height: 40px; }
  .hero h1 { font-size: 36px; } .hero h1 .sub { font-size: .56em; }
  .hero .lead { font-size: 16px; } .cta-row .btn { width: 100%; }
  .dash { padding: 8px; border-radius: 20px; } .dash-body { padding: 14px; }
  .kpi small { font-size: 10.5px; } .kpi strong { font-size: 18px; }
  .pain-grid { grid-template-columns: 1fr; gap: 24px; } .pain { border-right: 0; margin-right: 0; padding-right: 0; }
  .steps { grid-template-columns: 1fr; } .step::after { display: none; }
  .start { padding: 26px 20px; } .start-items { grid-template-columns: 1fr; }
  .ind-copy { padding: 26px 22px; } .screen { margin: 12px; padding: 16px; } .screen .kp strong { font-size: 19px; }
  .contact-card { padding: 28px 18px; border-radius: 24px; } form.cf { padding: 20px 16px; }
  .app-side { width: 44px; } .app-main { padding: 14px; }
  .doc { grid-template-columns: 1fr auto; } .doc .s { display: none; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
