@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --red: #e5232a;
  --red-2: #ff4d4f;
  --orange: #ff8a3d;
  --green: #35c66b;
  --green-2: #6ee79a;
  --ink: #0d0f12;
  --ink-2: #161a20;
  --ink-3: #232933;
  --text: #1a1d23;
  --muted: #5b6372;
  --line: #e4e7ec;
  --bg: #fff;
  --bg-soft: #f4f6f8;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 20px 50px -20px rgba(13, 15, 18, .25);
  --brand-line: linear-gradient(90deg, var(--red), var(--orange), var(--green));
  --btn-gradient: linear-gradient(135deg, var(--red) 0%, #ff5a36 100%);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --font-head: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --header-h: 72px;
  --marquee-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; }
p { margin: 0; }

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -.01em;
}

h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.grad {
  background: linear-gradient(90deg, var(--red-2) 0%, var(--orange) 40%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s var(--ease-out);
}

.reveal.is-visible { opacity: 1; transform: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border: 0;
  border-radius: 999px;
  font: 700 16px/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn--primary {
  color: #fff;
  background: var(--btn-gradient);
  box-shadow: 0 12px 30px -10px rgba(229, 35, 42, .65);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -10px rgba(229, 35, 42, .75);
}

.btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}

.btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn__arrow { transition: transform .2s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.header__logo {
  display: block;
  flex: none;
  padding: 5px 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .5);
}

.header__logo img { width: auto; height: 40px; }

.nav { display: flex; gap: 26px; margin-left: auto; }

.nav a {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  transition: color .2s;
}

.nav a:hover { color: #fff; }
.header.is-scrolled .nav a { color: var(--muted); }
.header.is-scrolled .nav a:hover { color: var(--text); }

.burger {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #fff;
  transition: transform .25s, top .25s;
}

.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.header.is-scrolled .burger { background: var(--bg-soft); }
.header.is-scrolled .burger span { background: var(--text); }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 80px;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
  overflow: clip;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}

.hero__glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .45;
}

.hero__glow--red { top: -220px; right: 10%; background: var(--red); }
.hero__glow--green { bottom: -300px; right: -120px; background: var(--green); opacity: .3; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(53, 198, 107, .25);
  animation: pulse 2s infinite;
}

.hero__title { margin: 0 0 22px; font-size: clamp(34px, 5vw, 64px); font-weight: 800; }

.hero__title .pill {
  margin-bottom: 24px;
  font-family: var(--font-body);
  line-height: 1.3;
  letter-spacing: 0;
}

.hero__slogan { display: block; }
.hero__lead { max-width: 560px; font-size: clamp(17px, 1.4vw, 19px); color: rgba(255, 255, 255, .72); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 44px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__stats li { display: flex; flex-direction: column; max-width: 160px; }
.hero__stats b { font: 700 32px/1 var(--font-head); }
.hero__stats span { margin-top: 8px; font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, .6); }

.hero__visual { position: relative; }
.hub { width: 100%; height: auto; overflow: visible; }

.hub__legend {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, .65);
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
}

.dot--green { background: var(--green); box-shadow: 0 0 10px var(--green); }
.dot--red { background: var(--red-2); box-shadow: 0 0 10px var(--red-2); }

.hub-ring { transform-origin: 320px 320px; animation: spin 40s linear infinite; }
.hub-orbit { fill: none; stroke: rgba(255, 255, 255, .08); stroke-dasharray: 2 8; }
.hub-line { stroke: rgba(255, 255, 255, .12); stroke-width: 1; }
.hub-node rect { fill: rgba(22, 26, 32, .92); stroke: rgba(255, 255, 255, .14); transition: stroke .3s; }
.hub-node text { fill: #fff; font: 600 15px var(--font-body); }
.hub-node circle { filter: drop-shadow(0 0 4px currentColor); }
.hub-node.is-active rect { stroke: rgba(255, 255, 255, .55); }
.hub-node--erp rect { fill: rgba(53, 198, 107, .12); stroke: rgba(53, 198, 107, .6); }

.marquee {
  color: rgba(255, 255, 255, .55);
  background: var(--ink-2);
  border-top: 1px solid rgba(255, 255, 255, .06);
  overflow: hidden;
}

.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }

.marquee span {
  position: relative;
  padding: 20px 28px;
  font: 600 15px var(--font-head);
  white-space: nowrap;
}

.marquee span::after {
  content: "✦";
  position: absolute;
  right: -6px;
  color: var(--red);
  opacity: .7;
}

.section { padding: 110px 0; }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__head p { margin-top: 18px; font-size: 18px; color: var(--muted); }

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font: 600 13px var(--font-head);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow--light { color: var(--green-2); }

.pains { background: var(--bg-soft); }
.pains__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.pain {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}

.pain:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.pain__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  color: var(--red);
  background: #fff1f1;
}

.pain__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pain h3 { margin-bottom: 10px; }
.pain p { font-size: 15px; color: var(--muted); }

.after {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  padding: 26px 32px;
  border: 1px solid #c9f0d6;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #e9fbef 0%, #fff 70%);
  font-size: 18px;
}

.after__badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
}

.flow {
  display: grid;
  grid-template-columns: 1fr 70px 1.1fr 70px 1fr;
  align-items: center;
}

.flow__col { display: flex; flex-direction: column; gap: 14px; }

.flow__label {
  font: 600 13px var(--font-head);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.flow__card {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color .2s, transform .2s;
}

.flow__card:hover { border-color: var(--green); transform: translateX(3px); }
.flow__card b { font-family: var(--font-head); font-weight: 600; }
.flow__card span { font-size: 14px; color: var(--muted); }

.flow__pipe {
  position: relative;
  height: 4px;
  margin: 0 6px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}

.flow__pipe i {
  position: absolute;
  top: 0;
  width: 18px;
  height: 4px;
  border-radius: 4px;
  background: var(--green);
  animation: flow 1.8s linear infinite;
}

.flow__pipe i:nth-child(2) { animation-delay: .6s; }
.flow__pipe i:nth-child(3) { animation-delay: 1.2s; }

.flow__core {
  padding: 36px 28px;
  border-radius: 28px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(13, 15, 18, .55);
  text-align: center;
}

.flow__ring {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .06), 0 0 60px rgba(53, 198, 107, .35);
}

.flow__core ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: rgba(255, 255, 255, .8);
}

.flow__core li::before { content: "✓"; margin-right: 8px; font-weight: 800; color: var(--green); }

.channels { background: var(--bg-soft); }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }

.tab {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 600 15px var(--font-body);
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}

.tab:hover { color: var(--text); }
.tab.is-active { color: #fff; background: var(--ink); border-color: var(--ink); }

.channels__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

.channel {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}

.channel:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.channel.is-hidden { display: none; }

.channel__logo {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 16px;
  font: 700 16px var(--font-head);
  color: #fff;
  background: var(--c);
  box-shadow: 0 10px 22px -10px var(--c);
}

.channel h3 { margin-bottom: 8px; font-size: 17px; }
.channel p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.channel--erp { border-color: #f3e2a3; background: linear-gradient(160deg, #fffbe8, #fff 60%); }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  overflow: hidden;
}

.card p { font-size: 15px; color: var(--muted); }

.card--wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

.card--wide .card__text { display: flex; flex: 1; flex-direction: column; gap: 12px; }
.card--dark { color: #fff; background: var(--ink); border-color: var(--ink); }
.card--dark p { color: rgba(255, 255, 255, .65); }
.card--accent { background: linear-gradient(135deg, #fff4f4 0%, #f0fbf4 100%); }

.mock {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 14px;
}

.mock__title { margin-bottom: 4px; font: 600 14px var(--font-head); }

.mock--toggles {
  display: grid;
  flex: none;
  gap: 12px;
  width: 300px;
  padding: 18px 20px;
}

.toggle { display: flex; align-items: center; justify-content: space-between; color: var(--muted); }

.toggle i {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: var(--line);
  transition: background .3s;
}

.toggle i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: transform .3s;
}

.toggle.is-on i { background: var(--green); }
.toggle.is-on i::after { transform: translateX(16px); }

.mock--bars { display: grid; gap: 10px; margin-top: auto; padding: 16px 18px; }

.mock--bars div {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.mock--bars i {
  width: 0;
  height: 8px;
  border-radius: 8px;
  background: var(--ink);
  transition: width 1.2s var(--ease-out);
}

.mock--bars i.is-accent { background: var(--green); }
.is-visible .mock--bars i { width: var(--w); }

.mock--msgs {
  display: grid;
  gap: 8px;
  margin-top: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mock__msg {
  padding: 10px 14px;
  border-radius: 14px 14px 14px 4px;
  font-size: 14px;
  color: rgba(255, 255, 255, .9);
  background: var(--ink-3);
}

.mock__msg b { display: block; font-size: 12px; color: var(--green-2); }

.mock--status { display: grid; flex: none; gap: 10px; padding: 18px; color: var(--muted); }
.mock--status div { display: flex; align-items: center; gap: 10px; }

.st {
  padding: 4px 10px;
  border-radius: 8px;
  font: 12px ui-monospace, Consolas, monospace;
  background: var(--bg-soft);
}

.st--new,
.st--work,
.st--done { font-family: var(--font-body); font-weight: 700; }

.st--new { color: var(--red); background: #fff1f1; }
.st--work { color: #b76e00; background: #fff7e6; }
.st--done { color: #13863f; background: #e9fbef; }

.reliability {
  position: relative;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}

.reliability::before {
  content: "";
  position: absolute;
  top: -250px;
  left: -250px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 198, 107, .25), transparent 60%);
}

.reliability__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.reliability__text > p { margin: 20px 0 30px; font-size: 18px; color: rgba(255, 255, 255, .7); }

.checks { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 38px; color: rgba(255, 255, 255, .7); }
.checks b { color: #fff; }

.checks li::before {
  content: "✓";
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  background: var(--green);
}

.tgchat {
  --tg-bg: #0e1621;
  --tg-head: #17212b;
  --tg-bubble: #182533;
  --tg-name: #a695e7;
  --tg-link: #6ab3f3;
  --tg-meta: #6d7f8f;
  --tg-badge: #67c27a;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 0%, rgba(106, 179, 243, .08), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(53, 198, 107, .1), transparent 50%),
    var(--tg-bg);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
  overflow: hidden;
}

.tgchat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--tg-head);
  border-bottom: 1px solid rgba(0, 0, 0, .35);
}

.tgchat__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}

.tgchat__avatar img { width: 32px; height: auto; }
.tgchat__title { display: grid; line-height: 1.25; }
.tgchat__title b { font-size: 15px; color: #fff; }
.tgchat__title small { font-size: 13px; color: var(--tg-meta); }

.tgchat__feed {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  height: 430px;
  padding: 16px 14px;
  font: 14px/1.4 -apple-system, "Segoe UI", Roboto, var(--font-body), sans-serif;
  overflow: hidden;
}

.tgmsg {
  align-self: flex-start;
  max-width: 94%;
  padding: 7px 11px 6px;
  border-radius: 14px;
  color: #f5f5f5;
  background: var(--tg-bubble);
  animation: tg-in .35s var(--ease-out) both;
}

.tgmsg--first { margin-top: 6px; border-bottom-left-radius: 4px; }

.tgmsg__from {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 2px;
  font-weight: 600;
  color: var(--tg-name);
}

.tgmsg__from i { font-size: 13px; font-style: normal; font-weight: 500; color: var(--tg-badge); }
.tgmsg__text { overflow-wrap: anywhere; }
.tgmsg__text b { font-weight: 700; }
.tgmsg__text a { color: var(--tg-link); text-decoration: none; }
.tgmsg__time { float: right; margin: 6px 0 -2px 12px; font-size: 12px; color: var(--tg-meta); }

.tgmsg--typing { display: flex; gap: 4px; padding: 12px 14px; }

.tgmsg--typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tg-meta);
  animation: tg-dot 1s infinite;
}

.tgmsg--typing span:nth-child(2) { animation-delay: .15s; }
.tgmsg--typing span:nth-child(3) { animation-delay: .3s; }

.onec__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.onec__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.onec__media img { width: 100%; height: 100%; object-fit: cover; }
.onec__text > p { margin: 20px 0 30px; font-size: 18px; color: var(--muted); }
.onec__list { display: grid; gap: 12px; }

.onec__list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.onec__list b { font-family: var(--font-head); font-weight: 600; color: var(--red); }
.onec__list span { color: var(--muted); }

.gen-slot.is-empty img { display: none; }

.gen-slot.is-empty::after {
  content: "Изображение будет сгенерировано";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 600 15px var(--font-head);
  color: rgba(255, 255, 255, .35);
}

.steps { background: var(--bg-soft); }

.steps__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps__list li {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.steps__list li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 36px;
  right: -16px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  color: #fff;
  background: var(--ink);
}

.steps__list span {
  display: block;
  margin-bottom: 20px;
  font: 800 40px/1 var(--font-head);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
}

.steps__list h3 { margin-bottom: 8px; }
.steps__list p { font-size: 15px; color: var(--muted); }

.faq__inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.7fr;
  gap: 64px;
  align-items: start;
}

.faq__sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__sticky > p { margin-top: 18px; font-size: 18px; color: var(--muted); }

.faq__help {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-top: 32px;
  padding: 26px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}

.faq__help::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 198, 107, .35), transparent 65%);
}

.faq__help b { font: 600 18px var(--font-head); }
.faq__help span { margin-bottom: 10px; font-size: 15px; color: rgba(255, 255, 255, .65); }

.faq__list { display: grid; gap: 12px; counter-reset: faq; }

.faq__item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  counter-increment: faq;
  interpolate-size: allow-keywords;
  transition: border-color .25s, box-shadow .25s, background .25s;
}

.faq__item::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: -1px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(var(--red), var(--green));
  opacity: 0;
  transition: opacity .25s;
}

.faq__item:hover { border-color: #cfd4dc; }

.faq__item[open] {
  border-color: transparent;
  background: var(--bg-soft);
  box-shadow: 0 14px 34px -22px rgba(13, 15, 18, .35);
}

.faq__item[open]::before { opacity: 1; }

.faq__item summary {
  display: grid;
  grid-template-columns: 44px 1fr 36px;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-radius: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.faq__item summary::before {
  content: counter(faq, decimal-leading-zero);
  font: 700 14px var(--font-head);
  color: #b3b9c4;
  transition: color .25s;
}

.faq__item[open] summary::before { color: var(--red); }

.faq__item summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font: 400 22px/1 var(--font-head);
  color: var(--ink);
  background: var(--bg-soft);
  transition: transform .3s, background .3s, color .3s;
}

.faq__item[open] summary::after { color: #fff; background: var(--ink); transform: rotate(45deg); }

.faq__item::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size .35s ease, content-visibility .35s allow-discrete;
}

.faq__item[open]::details-content { block-size: auto; }
.faq__answer { padding: 0 72px 22px 80px; color: var(--muted); }

.lead {
  position: relative;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}

.lead::before {
  content: "";
  position: absolute;
  right: -200px;
  bottom: -300px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 35, 42, .35), transparent 60%);
}

.lead__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.lead__text p { margin-top: 20px; font-size: 18px; color: rgba(255, 255, 255, .7); }

.lead__icon {
  width: 180px;
  margin-top: 40px;
  padding: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 80px rgba(53, 198, 107, .35);
}

.form {
  display: grid;
  gap: 16px;
  padding: 34px;
  border-radius: 28px;
  color: var(--text);
  background: #fff;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: 500 16px var(--font-body);
  color: var(--text);
  background: var(--bg-soft);
  resize: vertical;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(53, 198, 107, .15);
}

.field.is-invalid input { border-color: var(--red); }

.field--chips { display: flex; flex-wrap: wrap; gap: 8px; }
.field--chips legend { margin-bottom: 8px; padding: 0; }
.field--chips label { cursor: pointer; }
.field--chips input { position: absolute; opacity: 0; pointer-events: none; }

.field--chips span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s, background .2s, border-color .2s;
}

.field--chips input:checked + span { color: #fff; background: var(--ink); border-color: var(--ink); }
.field--chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(53, 198, 107, .4); }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--green); }
.consent.is-invalid { color: var(--red); }

.form__status { min-height: 1em; font-size: 15px; font-weight: 600; }
.form__status.is-ok { color: #13863f; }
.form__status.is-error { color: var(--red); }
.form.is-sending button { opacity: .6; pointer-events: none; }

.footer { padding: 48px 0; font-size: 14px; color: rgba(255, 255, 255, .55); background: #07080a; }

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 32px;
}

.footer__inner img {
  width: auto;
  height: 52px;
  padding: 6px 10px;
  border-radius: 12px;
  background: #fff;
}

.footer__nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }

.mobile-cta {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 12px;
  z-index: 40;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(13, 15, 18, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6);
  transform: translateY(140%);
  transition: transform .35s var(--ease-out);
}

.mobile-cta.is-shown { transform: none; }
.mobile-cta span { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.3; }
.mobile-cta .btn { flex: none; }

#cookieConsent {
  right: 24px;
  bottom: calc(var(--marquee-h) + 20px);
  left: auto;
  width: min(430px, calc(100% - 48px));
  padding: 20px 20px 18px 82px;
  border-radius: 22px;
  font-family: var(--font-body);
  background: rgba(13, 15, 18, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .09);
  overflow: hidden;
  animation: cookie-in .6s var(--ease-out) both;
}

#cookieConsent::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--brand-line);
}

#cookieConsent::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--ink) 54%, transparent 56%),
    conic-gradient(from 200deg, var(--red) 0 30%, transparent 30% 34%, var(--green) 34% 66%, transparent 66% 70%, #e8eaed 70% 96%, transparent 96%);
  animation: spin 12s linear infinite;
}

#cookieConsent .cookie-consent-container {
  display: grid;
  gap: 14px;
  max-width: none;
  margin: 0;
  text-align: left;
}

#cookieConsent .cookie-consent-text { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .72); }

#cookieConsent .cookie-consent-text a {
  color: var(--green-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(110, 231, 154, .4);
  transition: border-color .2s;
}

#cookieConsent .cookie-consent-text a:hover { border-color: var(--green-2); }

#cookieConsent .cookie-consent-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: auto;
}

#cookieConsent .cookie-consent-accept,
#cookieModal .cookie-consent-accept {
  padding: 11px 24px;
  border-radius: 999px;
  font: 700 14px/1 var(--font-body);
  color: #fff;
  background: var(--btn-gradient);
  box-shadow: 0 10px 24px -10px rgba(229, 35, 42, .7);
  transition: transform .2s, box-shadow .2s;
}

#cookieConsent .cookie-consent-accept:hover,
#cookieModal .cookie-consent-accept:hover {
  background: var(--btn-gradient);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(229, 35, 42, .8);
}

#cookieConsent .cookie-consent-details {
  padding: 0;
  font: 600 14px var(--font-body);
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
  transition: color .2s;
}

#cookieConsent .cookie-consent-details:hover { color: #fff; }

#cookieModal {
  padding: 24px 16px;
  background: rgba(7, 8, 10, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

#cookieModal .cookie-modal-content {
  max-width: 680px;
  margin: 6vh auto;
  padding: 40px 40px 34px;
  border-radius: 28px;
  font-family: var(--font-body);
  color: var(--text);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7);
  overflow: hidden;
  animation: cookie-modal-in .4s var(--ease-out) both;
}

#cookieModal .cookie-modal-content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--brand-line);
}

#cookieModal .cookie-modal-title { margin: 0 48px 20px 0; font: 700 clamp(20px, 2.6vw, 26px)/1.2 var(--font-head); color: var(--ink); }
#cookieModal .cookie-modal-text { margin-bottom: 26px; font-size: 15px; line-height: 1.65; color: var(--muted); }
#cookieModal .cookie-modal-text p { margin: 0 0 12px; }
#cookieModal .cookie-modal-text strong { color: var(--text); }
#cookieModal .cookie-modal-text a { color: var(--red); }

#cookieModal .cookie-modal-text ul {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

#cookieModal .cookie-modal-text li { position: relative; padding-left: 26px; }

#cookieModal .cookie-modal-text li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 800;
  color: var(--green);
}

#cookieModal .cookie-modal-close {
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  background: var(--bg-soft);
  transition: background .2s, color .2s, transform .3s;
}

#cookieModal .cookie-modal-close:hover { color: #fff; background: var(--ink); transform: rotate(90deg); }

body:has(#cookieConsent[style*="block"]) .mobile-cta { transform: translateY(160%); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(53, 198, 107, 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes flow { from { left: -18px; } to { left: 100%; } }
@keyframes flow-v { from { top: -14px; } to { top: 100%; } }
@keyframes tg-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes tg-dot { 50% { opacity: .5; transform: translateY(-4px); } }
@keyframes cookie-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes cookie-modal-in { from { opacity: 0; transform: translateY(20px); } }

@media (min-width: 961px) and (min-height: 600px) {
  .hero {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--marquee-h));
    min-height: calc(100svh - var(--marquee-h));
    padding: calc(var(--header-h) + 1.5vh) 0 2vh;
  }

  .hero__inner { width: 100%; }
  .hero__title { margin-bottom: 2vh; font-size: clamp(34px, min(4.6vw, 6vh), 64px); }
  .hero__title .pill { margin-bottom: 2.2vh; }
  .hero__lead { max-width: 620px; font-size: clamp(15px, min(1.3vw, 2vh), 19px); line-height: 1.5; }
  .hero__actions { margin: 3vh 0 3.4vh; }
  .hero__stats b { font-size: clamp(24px, 3.4vh, 32px); }
  .hub { max-height: calc(100svh - var(--header-h) - var(--marquee-h) - 90px); }
  .marquee { height: var(--marquee-h); }
  .marquee span { line-height: 24px; }
}

@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .pains__grid { grid-template-columns: repeat(2, 1fr); }
  .channels__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 24px;
    background: #fff;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .3);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .3s, visibility .3s;
  }

  .nav.is-open { transform: none; visibility: visible; }

  .nav a,
  .header.is-scrolled .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
  }

  .burger { display: block; }
  .header__cta { margin-left: auto; }
  .header.is-open { background: #fff; }
  .header.is-open .burger span { background: var(--text); }

  .hero__inner,
  .reliability__inner,
  .onec__inner,
  .lead__inner,
  .faq__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual { order: -1; width: 100%; max-width: 560px; margin: 0 auto; }

  .flow { grid-template-columns: 1fr; gap: 14px; }
  .flow__pipe { width: 4px; height: 40px; margin: 0 auto; }
  .flow__pipe i { left: 0; width: 4px; height: 14px; animation-name: flow-v; }

  .bento { grid-template-columns: 1fr 1fr; }
  .card--wide { grid-column: span 2; }

  .steps__list { grid-template-columns: 1fr 1fr; }
  .steps__list li::after { display: none; }

  .faq__inner { gap: 32px; }
  .faq__sticky { position: static; }
  .faq__help { display: none; }

  .lead__icon { display: none; }

  .footer { padding-bottom: calc(48px + 76px + env(safe-area-inset-bottom)); }
  .footer__inner { grid-template-columns: 1fr; }

  .mobile-cta { display: flex; }

  #cookieConsent { bottom: calc(16px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .section__head p { font-size: 16px; }

  .header__cta { display: none; }
  .header__logo img { height: 34px; }
  .burger { margin-left: auto; }

  .hero { padding-top: calc(var(--header-h) + 8px); }
  .hero__title { font-size: clamp(32px, 9.4vw, 40px); }
  .hero__title .pill { margin-bottom: 18px; padding: 7px 14px; font-size: 13px; }
  .hero__actions { margin: 28px 0 36px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

  .hero__stats li {
    padding: 14px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  }

  .hero__stats b { font-size: 24px; }
  .hero__stats span { font-size: 12px; }
  .hero__visual { width: calc(100% + 32px); max-width: none; margin: 0 -16px; }
  .hub__legend { font-size: 13px; }

  .pains__grid { grid-template-columns: 1fr; gap: 12px; }
  .pain { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 20px 18px; }
  .pain__icon { grid-row: span 2; width: 44px; height: 44px; margin: 0; border-radius: 12px; }
  .pain h3 { margin-bottom: 6px; font-size: 16px; }
  .after { flex-direction: column; padding: 24px; text-align: center; }

  .tabs {
    flex-wrap: nowrap;
    margin: 0 -16px 24px;
    padding: 0 16px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }

  .channels__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .channel { padding: 18px 16px; }
  .channel__logo { width: 44px; height: 44px; margin-bottom: 14px; border-radius: 13px; font-size: 14px; }
  .channel h3 { font-size: 15px; overflow-wrap: anywhere; }
  .channel p { font-size: 13px; }

  .bento { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .card--wide { grid-column: auto; flex-direction: column; align-items: stretch; }
  .mock--toggles { width: 100%; }

  .reliability__text > p,
  .onec__text > p,
  .lead__text p {
    font-size: 16px;
  }

  .tgchat__feed { height: 400px; padding: 12px 10px; font-size: 13.5px; }
  .onec__list div { grid-template-columns: 1fr; gap: 4px; }
  .steps__list { grid-template-columns: 1fr; }

  .faq__item summary { grid-template-columns: 28px 1fr 32px; gap: 10px; padding: 16px; font-size: 16px; }
  .faq__item summary::before { font-size: 12px; }
  .faq__item summary::after { width: 32px; height: 32px; font-size: 20px; }
  .faq__answer { padding: 0 16px 18px 54px; font-size: 15px; }

  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }

  #cookieConsent {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
    padding: 18px 16px 16px;
  }

  #cookieConsent::after { top: 18px; left: 16px; width: 34px; height: 34px; }
  #cookieConsent .cookie-consent-text { min-height: 34px; padding-left: 48px; font-size: 13px; }
  #cookieConsent .cookie-consent-buttons { gap: 12px; }
  #cookieConsent .cookie-consent-accept { flex: 1; padding: 13px 20px; }
  #cookieModal .cookie-modal-content { margin: 12px auto; padding: 30px 20px 22px; border-radius: 22px; }
  #cookieModal .cookie-modal-close { top: 14px; right: 14px; }
  #cookieModal .cookie-consent-accept { width: 100%; padding: 14px 20px; }
}

@media (max-width: 359px) {
  .channels__grid { grid-template-columns: 1fr; }
  .hero__stats span { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal { opacity: 1; transform: none; }
}
