/* ═══════════════════════════════════════════════════════════
   FinBoard — дизайн-система
   Палитра: Figma-макет FinBoard (#5947F1 индиго, #8DFFFF циан)
   ═══════════════════════════════════════════════════════════ */
:root {
  --primary: #5947F1; --primary-d: #4736D6; --primary-l: #7A6BFF;
  --primary-soft: #ECEBFF; --lavender: #D5D6FD;
  --cyan: #8DFFFF; --cyan-d: #63F2F1;
  --ink: #14152B; --muted: #5E6382; --line: #E4E6F4;
  --bg: #FFFFFF; --bg-soft: #F6F7FE;
  --good: #16A06B; --good-bg: #E2F7ED;
  --dark: #14152B; --dark-2: #1D1F3E;
  --hero-grad: linear-gradient(135deg, #5B77F5 0%, #5947F1 55%, #6E52F7 100%);
  --shadow: 0 10px 30px rgba(69, 56, 214, 0.10);
  --shadow-lg: 0 26px 60px rgba(69, 56, 214, 0.16);
  --r: 20px; --r-lg: 28px;
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--primary); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
h2 { font-size: 36px; font-weight: 800; }
section[id] { scroll-margin-top: 84px; }
:where(a, button, summary):focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 8px; }

.sec { padding: 76px 0 8px; }
.sec-soft { background: var(--bg-soft); padding: 76px 0 60px; margin-top: 60px; }
.eyebrow { display: inline-block; font: 800 12px/1 sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin: 0 0 14px; }
.sub { color: var(--muted); font-size: 18px; max-width: 660px; margin: 12px 0 38px; }

/* ── nav ── */
nav.top {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.navrow { display: flex; align-items: center; gap: 28px; height: 66px; }
.logo { font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 9px; }
.logo .mark { width: 32px; height: 32px; border-radius: 10px; background: var(--hero-grad); color: #fff; font: 800 15px/32px sans-serif; text-align: center; }
.logo em { font-style: normal; color: var(--primary); }
.logo img { height: 24px; width: auto; display: block; }
.navlinks { display: flex; gap: 22px; flex: 1; font-size: 14.5px; }
.navlinks a { color: var(--muted); text-decoration: none; font-weight: 600; position: relative; }
.navlinks a:hover, .navlinks a.on { color: var(--ink); }
.navlinks a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2.5px; border-radius: 2px; background: var(--primary); }

/* ── buttons ── */
.btn { display: inline-block; border-radius: 999px; padding: 13px 26px; font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; border: none; transition: transform .15s ease, filter .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-cyan { background: var(--cyan); color: var(--ink); box-shadow: 0 10px 26px rgba(99, 242, 241, .45); }
.btn-cyan:hover { background: var(--cyan-d); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 26px rgba(89, 71, 241, .35); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: var(--bg); }
.btn-ghost-w { border: 1.5px solid rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-big { padding: 16px 32px; font-size: 16px; }

/* ── hero ── */
.hero-band { background: var(--hero-grad); color: #fff; border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; position: relative; }
.hero-band::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; right: -180px; top: -260px; background: radial-gradient(circle, rgba(141,255,255,.22), transparent 65%); }
.hero { display: grid; grid-template-columns: 1.06fr 1fr; gap: 44px; align-items: center; padding: 72px 0 64px; position: relative; }
.hero .pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 8px 16px; font: 700 12px/1 sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #E9F6FF; }
.hero .pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.hero h1 { font-size: 46px; font-weight: 850; margin: 22px 0 16px; color: #fff; }
.hero .lead { font-size: 18.5px; color: #E3E4FF; max-width: 540px; margin: 0; }
.hero .lead b { color: #fff; }
.heroCtas { display: flex; gap: 14px; margin: 30px 0 22px; flex-wrap: wrap; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #C9CCFF; font-size: 13.5px; font-weight: 600; }
.proof span { display: inline-flex; align-items: center; gap: 7px; }
.proof span::before { content: "✓"; color: var(--cyan); font-weight: 800; }

.hero-visual { position: relative; }
.hero-visual .shot { border-radius: 16px; box-shadow: 0 30px 70px rgba(10, 8, 60, .45); border: 1px solid rgba(255,255,255,.25); display: block; }
.hero-visual .rocket { position: absolute; width: 168px; right: -34px; bottom: -46px; filter: drop-shadow(0 18px 30px rgba(10,8,60,.4)); animation: float 5s ease-in-out infinite; }
.hero-visual .chip { position: absolute; left: -18px; top: -20px; background: #fff; color: var(--good); border-radius: 12px; padding: 10px 16px; font-weight: 800; font-size: 13.5px; box-shadow: var(--shadow-lg); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(2deg); } }

/* ── stats ── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 46px 0 8px; }
.stat { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow); }
.stat .n { font-size: 28px; font-weight: 850; color: var(--primary); font-variant-numeric: tabular-nums; }
.stat .c { color: var(--muted); font-size: 13.5px; margin-top: 4px; line-height: 1.4; }

/* ── cards ── */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #C9C4FA; }
.card h3 { font-size: 19px; margin: 14px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 14.8px; }
.card .money { font-weight: 800; color: var(--primary); }
.ic { width: 46px; height: 46px; border-radius: 13px; background: var(--hero-grad); display: flex; align-items: center; justify-content: center; }
.ic svg { width: 23px; height: 23px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic.cy { background: linear-gradient(135deg, #48E0DF, #17B8B6); }

/* service link cards */
.svc { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); position: relative; }
.svc .go { margin-top: auto; padding-top: 16px; font-weight: 800; color: var(--primary); font-size: 14.5px; }
.svc .go::after { content: " →"; }
.svc .tag-top { position: absolute; top: 18px; right: 18px; background: var(--primary-soft); color: var(--primary); font: 800 11px/1 sans-serif; padding: 6px 12px; border-radius: 999px; letter-spacing: .06em; }

/* ── pipeline ── */
.pipe { display: grid; grid-template-columns: 1fr auto 1.35fr auto 1fr; gap: 16px; align-items: stretch; }
.pipe-col { display: flex; flex-direction: column; gap: 10px; }
.pipe-cap { font: 700 11px/1 sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.src, .out { background: var(--bg); border: 1px solid var(--line); border-radius: 13px; padding: 10px 14px; font-size: 14px; font-weight: 700; box-shadow: var(--shadow); display: flex; align-items: center; gap: 11px; transition: transform .15s ease; }
.src:hover, .out:hover { transform: translateX(3px); }
.si { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #fff; }
.si svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.si.f { }
.si.f svg { fill: #fff; stroke: none; }
.si-bank { background: linear-gradient(135deg, #6E85FF, #4B62E8); }
.si-1c { background: #F5C518; color: #C4161C; font: 800 12.5px/1 sans-serif; }
.si-sheets { background: #0F9D58; }
.si-bitrix { background: linear-gradient(135deg, #2BB2E8, #1897D6); font: 800 12.5px/1 sans-serif; }
.si-jira { background: #2684FF; }
.si-crm { background: linear-gradient(135deg, #21B3A6, #159384); }
.si-dash { background: var(--hero-grad); }
.si-tg { background: #2AABEE; }
.si-check { background: linear-gradient(135deg, #2BC48A, #159D68); }
.si-doc { background: linear-gradient(135deg, #7A6BFF, #5947F1); }
.si-bot { background: linear-gradient(135deg, #9F8BFF, #6E52F7); }
.pipe-arrow { display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--primary); font-weight: 800; }
.pipe-core { background: var(--dark); color: #EDEDFF; border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.pipe-core b { font-size: 20px; }
.pipe-core p { color: #A9ACD6; font-size: 14px; margin: 0; }
.core-tags { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.core-tags span { background: #2A2C55; color: var(--cyan); border-radius: 8px; padding: 5px 12px; font-size: 12.5px; font-weight: 800; }

/* ── case preview cards ── */
.case-num { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.case-num b { font-size: 20px; color: var(--primary); font-variant-numeric: tabular-nums; }
.case-num span { display: block; font-size: 12px; color: var(--muted); }

/* ── founder ── */
.founder { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--primary-soft); border-radius: var(--r-lg); padding: 36px 40px; }
.founder .ava { width: 108px; height: 108px; border-radius: 50%; background: var(--hero-grad); color: #fff; font: 800 40px/108px sans-serif; text-align: center; box-shadow: var(--shadow-lg); flex: none; }
.founder img.ava { object-fit: cover; object-position: 50% 30%; }
.founder .me-photo { width: 210px; aspect-ratio: 4/5; object-fit: cover; display: block; border-radius: 16px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 2px, #000 calc(100% - 2px), transparent 100%), linear-gradient(to bottom, transparent 0, #000 2px, #000 calc(100% - 2px), transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: linear-gradient(to right, transparent 0, #000 2px, #000 calc(100% - 2px), transparent 100%), linear-gradient(to bottom, transparent 0, #000 2px, #000 calc(100% - 2px), transparent 100%); }
.hero-sub .portrait { max-width: 300px; width: 100%; border-radius: 20px; box-shadow: 0 26px 60px rgba(10,8,60,.4); border: 4px solid rgba(255,255,255,.35); display: block; margin: 0 auto; }
@media (max-width: 940px) { .hero-sub .portrait { max-width: 200px; } }
.founder h3 { font-size: 24px; margin: 0 0 8px; }
.founder p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 640px; }

/* ── pricing / stages ── */
.price { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 26px 26px 30px; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: var(--hero-grad); }
.price-h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.price-h h3 { margin: 0; font-size: 19px; flex: 1; }
.pn { font: 800 15px/1 ui-monospace, Menlo, monospace; color: var(--primary); }
.price p { margin: 0; color: var(--muted); font-size: 14.8px; }
.tagp { background: var(--primary-soft); color: var(--primary); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 13px; white-space: nowrap; }
.tagp.free { background: var(--good-bg); color: var(--good); }
.tagp.cy { background: #DFFBFB; color: #0E8785; }

/* ── approach bands (из макета «Наш подход») ── */
.pband { background: var(--hero-grad); border-radius: var(--r-lg); padding: 40px 40px 44px; color: #fff; margin-top: 30px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.pband::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; right: -140px; top: -240px; background: radial-gradient(circle, rgba(141,255,255,.16), transparent 65%); }
.pband .band-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; position: relative; }
.pband .band-num { font: 800 14px/1 ui-monospace, Menlo, monospace; color: var(--cyan); letter-spacing: .1em; }
.pband h3 { font-size: 25px; color: #fff; margin: 0; }
.pband .grid3, .pband .grid2 { position: relative; }
.pband .card { color: var(--ink); }
.pband .card h3 { font-size: 18px; color: var(--ink); }
.pband .card:hover { border-color: transparent; }
.pstage { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; margin-top: 30px; padding: 8px 4px; }
.pstage .band-num { font: 800 14px/1 ui-monospace, Menlo, monospace; color: var(--primary); letter-spacing: .1em; }
.pstage h3 { font-size: 25px; margin: 8px 0 14px; }
.pstage p { color: var(--muted); font-size: 16px; margin: 0 0 10px; }
.pstage img { border-radius: 16px; box-shadow: var(--shadow-lg); }
.statement { background: var(--primary-soft); border-radius: var(--r-lg); padding: 36px 44px; margin-top: 34px; font-size: 21px; line-height: 1.5; font-weight: 650; letter-spacing: -.01em; }
.statement b { color: var(--primary); }
@media (max-width: 940px) {
  .pband { padding: 28px 22px 30px; }
  .pstage { grid-template-columns: 1fr; }
  .statement { padding: 26px 24px; font-size: 18px; }
}

/* ── quote ── */
.quote { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px 48px; box-shadow: var(--shadow); max-width: 920px; margin: 0 auto; }
.quote::before { content: "\201C"; position: absolute; top: 8px; left: 28px; font: 800 100px/1 Georgia, serif; color: var(--primary); opacity: .22; }
.quote blockquote { margin: 0; position: relative; font-size: 22px; line-height: 1.5; font-weight: 650; letter-spacing: -.01em; }
.qmeta { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.qava { width: 46px; height: 46px; border-radius: 50%; background: var(--hero-grad); color: #fff; font: 800 17px/46px sans-serif; text-align: center; flex: none; }
.qn { font-weight: 800; font-size: 15px; }
.qr { color: var(--muted); font-size: 13.5px; }

/* ── faq ── */
details { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin: 10px 0; transition: border-color .2s ease, box-shadow .2s ease; }
details[open] { border-color: #C9C4FA; box-shadow: var(--shadow); }
details summary { cursor: pointer; font-weight: 800; font-size: 15.5px; list-style: none; position: relative; padding-right: 34px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font: 700 24px/1 sans-serif; color: var(--primary); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); font-size: 14.5px; margin: 12px 0 2px; }

/* ── contact band ── */
.cta-band { text-align: center; background: var(--hero-grad); border-radius: var(--r-lg); padding: 60px 34px; margin: 76px 0 30px; color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; left: -160px; bottom: -300px; background: radial-gradient(circle, rgba(141,255,255,.18), transparent 65%); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band > p { color: #DBDEFF; max-width: 560px; margin: 12px auto 28px; position: relative; }
.contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 820px; margin: 28px auto 4px; position: relative; }
.cc { display: flex; flex-direction: column; gap: 4px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.28); border-radius: 14px; padding: 14px 16px; text-decoration: none; text-align: left; transition: background .15s, transform .15s; }
.cc:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.cc-l { font: 700 11px/1 sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #C9CCFF; }
.cc-v { color: #fff; font-weight: 800; font-size: 15px; }
.contacts.mini { grid-template-columns: repeat(2, 1fr); max-width: 440px; }
.msgr { display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 14px; padding: 15px 16px; text-decoration: none; color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .01em; box-shadow: 0 10px 24px -10px rgba(0,0,0,.4); transition: transform .15s, filter .15s; }
.msgr:hover { transform: translateY(-2px); filter: brightness(1.06); }
.msgr-i { width: 22px; height: 22px; flex: 0 0 auto; }
.msgr.tg { background: linear-gradient(135deg, #2AABEE, #229ED9); }
.msgr.wa { background: linear-gradient(135deg, #1FA855, #0E8A6B); }

/* ── lead form ── */
.lead { max-width: 540px; margin: 6px auto 0; position: relative; text-align: left; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lead-in { width: 100%; background: #fff; border: 1px solid rgba(255,255,255,.45); border-radius: 12px; padding: 13px 15px; font-size: 15px; color: var(--ink); font-family: inherit; -webkit-appearance: none; }
.lead-in::placeholder { color: #8A90A6; }
.lead-in:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(141,255,255,.4); }
.lead-in.email { grid-column: 1 / -1; }
.lead-btn { display: block; width: 100%; margin-top: 11px; border: 0; cursor: pointer; }
.lead-note { color: #C4C8FF; font-size: 12px; line-height: 1.5; margin: 11px auto 0; max-width: 500px; }
.lead-note a { color: #fff; text-decoration: underline; }
.lead-msg { margin: 12px auto 0; font-weight: 700; font-size: 14px; border-radius: 12px; padding: 12px 15px; }
.lead-msg.ok { background: rgba(141,255,255,.18); border: 1px solid rgba(141,255,255,.5); color: #EAFFFF; }
.lead-msg.err { background: rgba(255,120,120,.16); border: 1px solid rgba(255,150,150,.5); color: #FFE7E7; }
.lead .hp { position: absolute !important; left: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; }
.or { color: #C4C8FF; font-size: 13px; font-weight: 600; margin: 26px auto 2px; position: relative; }
@media (max-width: 560px) { .lead-row { grid-template-columns: 1fr; } }

footer { color: var(--muted); font-size: 13.5px; padding: 22px 0 54px; }
footer .frow { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* ── reveal ── */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ── subpage hero ── */
.hero-sub { background: var(--hero-grad); color: #fff; border-radius: 0 0 var(--r-lg) var(--r-lg); position: relative; overflow: hidden; }
.hero-sub::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -230px; background: radial-gradient(circle, rgba(141,255,255,.2), transparent 65%); }
.hero-sub .inner { padding: 58px 0 54px; position: relative; display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
.hero-sub .inner.solo { grid-template-columns: 1fr; }
.hero-sub h1 { font-size: 38px; font-weight: 850; color: #fff; margin: 16px 0 14px; }
.hero-sub .lead { font-size: 17.5px; color: #E3E4FF; max-width: 640px; margin: 0 0 26px; }
.hero-sub .lead b { color: #fff; }
.hero-sub .pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 8px 16px; font: 700 12px/1 sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #E9F6FF; }
.hero-sub .art { max-width: 300px; margin: 0 auto; filter: drop-shadow(0 20px 36px rgba(10,8,60,.4)); animation: float 6s ease-in-out infinite; }
/* волны из макета (Group 448) — нижний декор hero */
.hero-sub .waves { position: absolute; left: -2%; bottom: -2px; width: 104%; max-width: none; height: 58%; object-fit: cover; object-position: top center; pointer-events: none; animation: wavedrift 16s ease-in-out infinite alternate; }
.hero-sub.has-waves .inner { padding-bottom: 96px; }
@keyframes wavedrift { from { transform: translateX(0); } to { transform: translateX(-1.8%); } }

/* композиция из стеклянных колец (как на слайде «Кейс» из макета) */
.rings { position: relative; height: 320px; }
.rings img { position: absolute; filter: drop-shadow(0 18px 32px rgba(10,8,60,.38)); }
.rings .r1 { width: 210px; left: 12%; top: 90px; animation: floatA 6s ease-in-out infinite; }
.rings .r2 { width: 120px; right: 8%; top: 6px; animation: floatB 7.5s ease-in-out infinite; }
.rings .r3 { width: 84px; right: 24%; bottom: 6px; animation: floatA 5s ease-in-out 1.2s infinite backwards; }
.rings .r4 { width: 62px; left: 2%; top: 10px; animation: floatB 6.8s ease-in-out .6s infinite backwards; opacity: .9; }
@keyframes floatA { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-16px) rotate(3deg); } }
@keyframes floatB { 0%,100% { transform: translateY(0) rotate(5deg); } 50% { transform: translateY(-11px) rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) { .rings img, .hero-visual .rocket, .hero-sub .art, .hero-sub .waves { animation: none; } }

/* виньетка «бот присылает сам» (страница ботов): робот + карточка-отчёт */
.bot-vig { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 0; padding: 8px 0; }
.bot-vig .robot { width: 128px; flex: none; margin-right: -34px; margin-top: 84px; position: relative; z-index: 2; animation: float 5.5s ease-in-out infinite; filter: drop-shadow(0 18px 30px rgba(10,8,60,.4)); }
.tg-report { background: #FDFDFF; color: var(--ink); border: 10px solid #EEF0FA; border-radius: 24px; padding: 16px 20px 14px; box-shadow: 0 24px 50px rgba(10,8,60,.35); max-width: 420px; animation: floatB 7s ease-in-out .8s infinite backwards; }
.tg-report .cap { font: 700 11px/1 sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.tg-report .row { display: flex; gap: 12px; }
.tg-report .ava { width: 38px; height: 38px; border-radius: 50%; background: var(--hero-grad); color: #fff; font: 800 16px/38px sans-serif; text-align: center; flex: none; }
.tg-report .msg { font-size: 13.5px; line-height: 1.55; }
.tg-report .msg .ln { white-space: nowrap; }
.tg-report .msg b { font-weight: 800; }
.tg-report .pos { color: var(--good); font-weight: 800; }
.tg-report .time { color: var(--muted); font-size: 12px; margin-top: 6px; }
@media (max-width: 940px) { .bot-vig { justify-content: center; } .bot-vig .robot { width: 110px; margin-top: 50px; } }

/* арт, пристыкованный к правому верхнему углу (для обрезанных ассетов) */
.hero-sub .art-tr { position: absolute; right: 0; top: 0; width: 400px; pointer-events: none; transform-origin: top right; animation: artPulse 9s ease-in-out infinite; }
@keyframes artPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@media (max-width: 940px) { .hero-sub .art-tr { width: 210px; opacity: .45; } }

/* композиция из гранёных 3D-шаров (Agent 007) */
.cubes { position: relative; height: 320px; }
.cubes img { position: absolute; filter: drop-shadow(0 16px 30px rgba(10,8,60,.4)); }
.cubes .c1 { width: 220px; right: 4%; top: 52px; animation: floatA 6.5s ease-in-out infinite; }
.cubes .c2 { width: 116px; left: 6%; top: 2px; animation: floatB 7.6s ease-in-out .5s infinite backwards; opacity: .95; }
.cubes .c3 { width: 78px; right: 33%; bottom: 0; animation: floatA 5.2s ease-in-out 1.1s infinite backwards; opacity: .82; }
@media (max-width: 940px) {
  .cubes { height: 190px; max-width: 340px; margin: 0 auto; }
  .cubes .c1 { width: 132px; top: 42px; } .cubes .c2 { width: 74px; } .cubes .c3 { width: 50px; }
}

.crumbs { font-size: 13px; color: #C9CCFF; margin-bottom: 4px; }
.crumbs a { color: #C9CCFF; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ── browser frame ── */
.browser { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }
.browser .bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.browser .dot { width: 11px; height: 11px; border-radius: 50%; opacity: .85; }
.browser .url { margin-left: 10px; font: 12px ui-monospace, Menlo, monospace; color: var(--muted); background: #fff; border-radius: 7px; padding: 4px 12px; }
.browser img { display: block; width: 100%; }

/* ── comparison table ── */
.cmp { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); }
table.cmpt { border-collapse: collapse; width: 100%; min-width: 720px; background: #fff; font-size: 14.2px; }
.cmpt th, .cmpt td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmpt th { font-size: 13px; }
.cmpt thead th { background: var(--bg-soft); }
.cmpt .us { background: var(--primary-soft); }
.cmpt thead th.us { background: var(--primary); color: #fff; }
.cmpt td { color: var(--muted); }
.cmpt td.us { color: var(--ink); font-weight: 650; }
.yes { color: var(--good); font-weight: 800; }
.no { color: var(--muted); }

/* ── article / case ── */
.article { max-width: 780px; margin: 0 auto; padding-bottom: 60px; }
.article h2 { font-size: 27px; margin: 46px 0 14px; }
.article p, .article li { color: #3A3D57; font-size: 16.5px; }
.article .panel { background: var(--primary-soft); border-left: 3px solid var(--primary); border-radius: 12px; padding: 18px 22px; margin: 24px 0; }
.article .panel p { margin: 0; }
.num-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: -40px auto 40px; max-width: 920px; position: relative; z-index: 2; }
.num-band .nb { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-lg); text-align: center; }
.num-band .nb b { display: block; font-size: 23px; color: var(--primary); font-variant-numeric: tabular-nums; }
.num-band .nb span { font-size: 12.5px; color: var(--muted); }

/* ── check list ── */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 9px 0 9px 34px; position: relative; font-size: 15.5px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--good-bg); color: var(--good); font-weight: 800; text-align: center; line-height: 24px; font-size: 13px; }

/* ── steps ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; counter-increment: s; box-shadow: var(--shadow); }
.step::before { content: counter(s, decimal-leading-zero); font: 800 13px/1 ui-monospace, Menlo, monospace; color: var(--primary); letter-spacing: .08em; }
.step h3 { font-size: 16.5px; margin: 10px 0 6px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* ── mobile ── */
.mcta { display: none; }
@media (max-width: 940px) {
  h2 { font-size: 29px; }
  .hero { grid-template-columns: 1fr; padding: 52px 0 88px; }
  .hero h1 { font-size: 34px; }
  .hero-visual .rocket { width: 120px; right: 0; }
  .stats, .grid4 { grid-template-columns: 1fr 1fr; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .pipe { grid-template-columns: 1fr; }
  .pipe-arrow { transform: rotate(90deg); }
  .navlinks { display: none; }
  .founder { grid-template-columns: 1fr; text-align: center; }
  .founder .ava, .founder .me-photo { margin: 0 auto; }
  .quote { padding: 32px 26px; }
  .quote blockquote { font-size: 18.5px; }
  .contacts { grid-template-columns: 1fr 1fr; }
  .hero-sub .inner { grid-template-columns: 1fr; padding: 44px 0 46px; }
  .hero-sub h1 { font-size: 29px; }
  .hero-sub .art { max-width: 190px; }
  .rings { height: 190px; max-width: 340px; margin: 0 auto; }
  .rings .r1 { width: 130px; top: 50px; }
  .rings .r2 { width: 76px; }
  .rings .r3 { width: 54px; }
  .rings .r4 { width: 42px; }
  .steps, .num-band { grid-template-columns: 1fr 1fr; }
  .mcta { display: flex; align-items: center; justify-content: center; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 55; padding: 15px 20px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; box-shadow: 0 10px 30px rgba(89,71,241,.45); }
  footer { padding-bottom: 96px; }
}
