:root {
  color-scheme: light;
  --ink: #0b1733;
  --muted: #57657c;
  --line: #dce4f0;
  --surface: #f5f7fb;
  --card: #fff;
  --brand: #3156d3;
  --brand-dark: #1f3ca4;
  --brand-soft: #edf2ff;
  --cyan: #10a5c6;
  --success: #087f5b;
  --danger: #c2394f;
  --shadow: 0 24px 70px rgb(19 39 87 / 0.12);
  --shadow-soft: 0 12px 35px rgb(19 39 87 / 0.07);
  --radius: 18px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }

.topbar {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgb(220 228 240 / 0.82);
  background: rgb(255 255 255 / 0.88);
  backdrop-filter: blur(18px);
  transition: box-shadow .2s ease, background .2s ease;
}
.topbar.is-scrolled { background: rgb(255 255 255 / 0.97); box-shadow: 0 8px 28px rgb(19 39 87 / .07); }
.topbar__inner { display: flex; min-height: 72px; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); font-size: 20px; font-weight: 800; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.brand__mark { display: grid; width: 38px; height: 38px; margin-right: 9px; place-items: center; border-radius: 11px; background: linear-gradient(135deg, #4468e4, #2445bd); color: #fff; font-size: 14px; box-shadow: 0 8px 20px rgb(49 86 211 / .25); }
.nav { display: flex; align-items: center; gap: 22px; margin-inline: auto; }
.nav a { color: #40506a; font-size: 14px; font-weight: 650; text-decoration: none; transition: color .2s ease; }
.nav a:hover, .nav a:focus-visible { color: var(--brand); }
.topbar__actions { display: flex; gap: 9px; }
.nav-toggle { display: none; width: 42px; height: 42px; flex: 0 0 42px; padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 17px; border: 1px solid transparent; border-radius: 11px; font-size: 14px; font-weight: 750; line-height: 1.2; text-align: center; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .tab:focus-visible, .nav-toggle:focus-visible { outline: 3px solid rgb(49 86 211 / .22); outline-offset: 2px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgb(49 86 211 / .2); }
.btn--primary:hover { background: var(--brand-dark); box-shadow: 0 13px 28px rgb(49 86 211 / .27); }
.btn--secondary { border-color: #bdcae6; background: #fff; color: var(--brand-dark); }
.btn--secondary:hover, .btn--quiet:hover { border-color: #9fb0d5; background: var(--brand-soft); }
.btn--quiet { border-color: transparent; color: var(--ink); }
.btn--light { background: #fff; color: var(--brand-dark); }
.btn--lg { min-height: 52px; padding: 14px 21px; font-size: 15px; }

.hero { position: relative; overflow: hidden; padding: 92px 0 74px; background: radial-gradient(circle at 8% 10%, rgb(74 115 231 / .15), transparent 35%), radial-gradient(circle at 91% 18%, rgb(16 165 198 / .12), transparent 31%), linear-gradient(180deg, #fbfcff 0%, #f3f6fc 100%); }
.hero::after { position: absolute; inset: 0; background-image: linear-gradient(rgb(49 86 211 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(49 86 211 / .035) 1px, transparent 1px); background-size: 38px 38px; content: ""; mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(510px, 1.05fr); align-items: center; gap: 58px; }
.eyebrow { margin: 0 0 14px; color: var(--brand); font-size: 12px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow--dark { color: #b7c8ff; }
.hero h1 { max-width: 680px; margin: 0; font-size: clamp(40px, 5vw, 64px); font-weight: 820; letter-spacing: -.055em; line-height: 1.04; }
.hero__lead { max-width: 670px; margin: 24px 0 0; color: #46566f; font-size: 19px; line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.hero__proof span { padding: 7px 11px; border: 1px solid #d7e0f0; border-radius: 999px; background: rgb(255 255 255 / .74); color: #3c4e69; font-size: 12px; font-weight: 700; }

.dashboard { padding: 22px; border: 1px solid rgb(205 216 235 / .9); border-radius: 24px; background: rgb(255 255 255 / .94); box-shadow: var(--shadow); transform: rotate(.2deg); }
.dashboard__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dashboard__header strong, .panel__head strong { display: block; }
.dashboard__label { display: block; color: var(--muted); font-size: 12px; }
.marketplaces { display: flex; gap: 7px; }
.marketplaces img { width: 38px; height: 38px; border-radius: 10px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 20px; }
.metrics article, .screen-card { padding: 14px; border: 1px solid #e4e9f2; border-radius: 13px; background: #fafbfe; }
.metrics span, .screen-card span { display: block; color: var(--muted); font-size: 11px; }
.metrics strong, .screen-card strong { display: block; margin: 3px 0 7px; font-size: 17px; }
.pill, .status { display: inline-flex; padding: 4px 8px; border-radius: 999px; background: #edf2f8; color: #52627a; font-size: 10px; font-style: normal; font-weight: 750; }
.pill--good, .status--ok { background: #e8f8f2; color: var(--success); }
.pill--warn, .status--warn { background: #fff3df; color: #9c5d00; }
.status--risk { background: #ffebef; color: var(--danger); }
.dashboard__body { display: grid; grid-template-columns: 1.25fr .75fr; gap: 12px; margin-top: 12px; }
.panel, .alert-card { padding: 15px; border: 1px solid #e1e7f0; border-radius: 14px; background: #fff; }
.panel__head { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; }
.panel__head strong { color: var(--ink); font-size: 13px; }
.chart { display: flex; height: 105px; align-items: end; gap: 8px; padding-top: 16px; }
.chart span { flex: 1; min-width: 10px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #5274e3, #3156d3); opacity: .9; }
.h-42{height:42%}.h-52{height:52%}.h-64{height:64%}.h-68{height:68%}.h-74{height:74%}.h-78{height:78%}.h-88{height:88%}
.alert-card { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(145deg, #f1f5ff, #edf9fb); }
.alert-card__tag { width: fit-content; padding: 4px 8px; border-radius: 999px; background: #dce7ff; color: var(--brand-dark); font-size: 10px; font-weight: 800; }
.alert-card strong { margin-top: 9px; font-size: 13px; line-height: 1.35; }
.alert-card p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.table-wrap { margin-top: 12px; overflow-x: auto; border: 1px solid #e1e7f0; border-radius: 14px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
caption { padding: 12px 14px 5px; color: var(--muted); text-align: left; }
th, td { padding: 9px 14px; border-bottom: 1px solid #edf0f5; text-align: left; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
.right { text-align: right; }.good{color:var(--success)}.bad{color:var(--danger)}

.section { padding: 94px 0; }
.section--tight { padding-top: 78px; }
.section:nth-of-type(even) { background: #fff; }
.section__head { max-width: 760px; margin-bottom: 38px; }
.section__head h2, .telegram h2, .final h2 { margin: 0; font-size: clamp(31px, 4vw, 46px); letter-spacing: -.04em; line-height: 1.12; }
.section__head > p:last-child, .telegram > div > p:not(.eyebrow), .final p { margin: 16px 0 0; color: var(--muted); font-size: 17px; }
.pain-grid, .feature-list, .trust-grid, .steps-grid, .pricing { display: grid; gap: 16px; }
.pain-grid { grid-template-columns: repeat(5, 1fr); }
.card, .feature-list article, .trust-grid article, .step-card, .pricing article { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: 0 1px 0 rgb(13 35 75 / .02); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card:hover, .feature-list article:hover, .trust-grid article:hover, .pricing article:hover { transform: translateY(-3px); border-color: #bdcae6; box-shadow: var(--shadow-soft); }
.card h3, .feature-list h3, .trust-grid h3, .step-card h3, .pricing h3 { margin: 13px 0 7px; font-size: 17px; line-height: 1.3; }
.card p, .feature-list p, .trust-grid p, .step-card p, .pricing p { margin: 0; color: var(--muted); font-size: 14px; }
.card__icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.card__icon::before { font-size: 19px; font-weight: 850; }
.card__icon--money::before{content:"₽"}.card__icon--market::before{content:"WB";font-size:11px}.card__icon--price::before{content:"↕"}.card__icon--sync::before{content:"↻"}.card__icon--stock::before{content:"▦"}
.feature-list { grid-template-columns: repeat(3, 1fr); }
.feature-list article { padding-top: 56px; }
.feature-list article::before { position: absolute; top: 23px; left: 24px; width: 24px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--cyan)); content: ""; }

.steps-grid { grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step-card { counter-increment: step; padding-top: 66px; }
.step-card::before { position: absolute; top: 22px; left: 24px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: var(--brand); color: #fff; content: counter(step); font-size: 13px; font-weight: 850; }

.product-tabs { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-soft); }
.tabs { display: flex; gap: 5px; padding: 10px; overflow-x: auto; border-bottom: 1px solid var(--line); background: #f8faff; }
.tab { flex: 0 0 auto; padding: 10px 16px; border: 0; border-radius: 10px; background: transparent; color: #4c5c74; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.tab:hover { background: #edf2fa; }.tab.active { background: var(--brand); color: #fff; }
.tab-panel { display: none; min-height: 230px; padding: 28px; }.tab-panel.active { display: block; }
.screen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.panel--wide { margin-top: 14px; }.chart--wide { height: 120px; }
.message-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.message-grid article { padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: #f9fbff; }
.message-grid span { color: var(--muted); font-size: 11px; }.message-grid strong { display: block; margin: 5px 0; }.message-grid p { margin: 0; color: var(--muted); font-size: 13px; }

.telegram { display: grid; grid-template-columns: 1fr 420px; align-items: center; gap: 80px; }
.phone { max-width: 390px; margin-left: auto; padding: 12px; border: 8px solid #152142; border-radius: 34px; background: #e9eef9; box-shadow: var(--shadow); }
.phone__top { padding: 12px 16px; border-radius: 16px 16px 8px 8px; background: #fff; font-size: 13px; font-weight: 800; }
.message-list { display: grid; gap: 9px; padding: 12px 4px 4px; }
.message-list article { max-width: 92%; padding: 13px 15px; border-radius: 7px 15px 15px 15px; background: #fff; box-shadow: 0 4px 12px rgb(19 39 87 / .06); }
.message-list strong { font-size: 13px; }.message-list p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.trust-grid { grid-template-columns: repeat(4, 1fr); }

.pricing { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.pricing article { display: flex; min-height: 270px; flex-direction: column; }
.pricing article > strong { display: block; min-height: 48px; margin: 8px 0 16px; font-size: 22px; line-height: 1.15; }
.pricing article .btn { margin-top: auto; }
.pricing__featured { border-color: #8399e5 !important; background: linear-gradient(180deg, #f2f5ff, #fff 54%) !important; box-shadow: 0 18px 48px rgb(49 86 211 / .15) !important; }
.pricing__featured > span { position: absolute; top: -12px; right: 18px; padding: 5px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 800; }
.pricing__badge { position: absolute; top: -12px; right: 18px; padding: 5px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 800; }
.pricing__price { display: block; min-height: 48px; margin: 8px 0 4px; font-size: 22px; line-height: 1.15; }
.pricing__trial { margin: 0 0 8px; color: var(--brand); font-size: 13px; font-weight: 600; }
.pricing__desc { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.pricing__features { list-style: none; padding: 0; margin: 0 0 16px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.pricing__features li::before { content: "✓ "; color: var(--brand); font-weight: 700; }

.faq-list { display: grid; gap: 10px; max-width: 900px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s ease; }
.faq-list details[open] { border-color: #b9c7e4; }
.faq-list summary { position: relative; padding: 18px 52px 18px 20px; font-weight: 750; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 17px; right: 20px; color: var(--brand); content: "+"; font-size: 22px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 20px 19px; color: var(--muted); }

.final { padding-top: 42px; background: var(--surface) !important; }
.final__box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 42px; padding: 48px; border-radius: 24px; background: linear-gradient(135deg, #132558, #263f96 64%, #246d9d); color: #fff; box-shadow: var(--shadow); }
.final p { color: #d6e0fb; }.final__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── Promo banner ── */
.promo-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #0ea5e9 100%);
  color: #fff; text-align: center; padding: 36px 0 32px; position: relative; overflow: hidden;
}
.promo-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 30%, rgba(255,255,255,.06) 0%, transparent 40%);
}
.promo-banner__inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.promo-banner__badge {
  display: inline-block; padding: 4px 14px; border-radius: 20px;
  background: rgba(255,255,255,.18); font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px;
}
.promo-banner__title { font-size: clamp(22px, 4vw, 32px); font-weight: 800; margin: 0 0 10px; line-height: 1.2; }
.promo-banner__desc { font-size: 15px; line-height: 1.6; margin: 0 0 8px; opacity: .92; }
.promo-code {
  display: inline-block; padding: 6px 18px; border-radius: 8px;
  background: rgba(255,255,255,.2); backdrop-filter: blur(4px);
  font-family: monospace; font-size: 20px; font-weight: 800; letter-spacing: .08em;
  border: 1px dashed rgba(255,255,255,.4); color: #fff;
}
.promo-banner__dates { font-size: 13px; opacity: .7; margin: 8px 0 16px; }
.promo-banner .btn--primary { background: #fff; color: #1e3a8a; font-weight: 700; }
.promo-banner .btn--primary:hover { background: #f0f4ff; }

/* ── Enterprise form ── */
.enterprise-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.enterprise-form label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.enterprise-form input, .enterprise-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; background: #fff; color: var(--ink);
}
.enterprise-form input:focus, .enterprise-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(49,86,211,.12); }
.enterprise-form textarea { resize: vertical; }
.enterprise-success { text-align: center; padding: 32px; background: #f0fdf4; border-radius: 12px; border: 1px solid #bbf7d0; }
.enterprise-success h3 { color: #166534; margin: 0 0 8px; }
.enterprise-success p { color: #15803d; margin: 0; }
@media (max-width: 640px) { .enterprise-form__grid { grid-template-columns: 1fr; } }

.footer { padding: 48px 0; border-top: 1px solid #dce3ef; background: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.1fr 1.6fr auto; align-items: start; gap: 40px; }
.footer__grid > div > p { max-width: 390px; margin: 15px 0 0; color: var(--muted); font-size: 13px; }
.footer nav { display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 8px 18px; }
.footer nav a { color: #495971; font-size: 13px; text-decoration: none; }.footer nav a:hover { color: var(--brand); }
.footer__details { color: var(--muted); font-size: 12px; line-height: 1.7; }

@media (max-width: 1100px) {
  .nav { gap: 13px; }.nav a { font-size: 12px; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .topbar__inner { justify-content: space-between; }
  .nav-toggle { display: block; order: 3; cursor: pointer; }
  .nav { position: fixed; inset: 73px 0 auto; display: none; max-height: calc(100vh - 73px); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 22px; overflow-y: auto; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 20px 40px rgb(19 39 87 / .12); }
  .nav.is-open { display: flex; }.nav a { padding: 11px 8px; font-size: 15px; }
  .topbar__actions { margin-left: auto; }
  .topbar__actions .btn--quiet { display: none; }
  .hero { padding-top: 64px; }.hero__grid { grid-template-columns: 1fr; }.dashboard { max-width: 720px; }
  .feature-list, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .telegram { grid-template-columns: 1fr 340px; gap: 35px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }.footer__details { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }
  .topbar__inner { min-height: 64px; gap: 8px; }.nav { top: 65px; }.brand__mark { width: 34px; height: 34px; }
  .topbar__actions .btn { min-height: 40px; padding: 9px 12px; font-size: 12px; }
  .hero { padding: 49px 0 56px; }.hero h1 { font-size: clamp(36px, 11vw, 48px); }.hero__lead { font-size: 16px; }.hero__actions .btn { width: 100%; }
  .dashboard { padding: 15px; border-radius: 18px; }.metrics { grid-template-columns: repeat(2, 1fr); }.dashboard__body { grid-template-columns: 1fr; }.alert-card { min-height: 130px; }
  .section { padding: 70px 0; }.section--tight { padding-top: 60px; }.section__head { margin-bottom: 28px; }
  .section__head h2, .telegram h2, .final h2 { font-size: 31px; }
  .pain-grid, .feature-list, .trust-grid, .steps-grid, .pricing, .screen-grid, .message-grid { grid-template-columns: 1fr; }
  .tab-panel { padding: 18px; }.telegram { grid-template-columns: 1fr; }.phone { width: 100%; margin: 12px auto 0; }
  .final__box { grid-template-columns: 1fr; padding: 30px 22px; }.final__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }.footer__details { grid-column: auto; }.footer nav { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
