/* Лендинг «Маркетплейсы» (cabinets/mp/landing): стиль сайта — Montserrat, #0B2D87, синие кнопки; все скругления — 12px (решение владельца 27.10); анимации — landing.js */
.mpl { --mpl-ink: #0B2D87; --mpl-ink2: #0C1D4C; --mpl-muted: #5C6C93; --mpl-blue: #0036E9; --mpl-blue2: #3963EF; --mpl-line: #E3E8F4; --mpl-tint: #F4F6FC;
    --mpl-ozon: #005BFF; --mpl-wb: #A31CA6; --mpl-green: #15B47B; --mpl-yellow: #F2B200; --mpl-red: #E5484D;
    color: var(--mpl-ink); font-family: Montserrat, Arial, sans-serif; overflow: hidden; }
.mpl *, .mpl *::before, .mpl *::after { box-sizing: border-box; }
/* сбросы — с нулевой специфичностью (:where), чтобы отступы блоков ниже их перекрывали */
.mpl :where(h1, h2, h3) { margin: 0; color: var(--mpl-ink); }
.mpl :where(p) { margin: 0; }

/* появление при прокрутке */
.mpl-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.mpl-reveal.is-in { opacity: 1; transform: none; }

/* первый экран */
.mpl-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 24px 0 56px; }
.mpl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.mpl-chip { padding: 6px 12px; border-radius: 12px; background: var(--mpl-tint); color: var(--mpl-muted); font-size: 13px; font-weight: 600; }
.mpl-chip--ozon { background: var(--mpl-ozon); color: #fff; }
.mpl-chip--wb { background: var(--mpl-wb); color: #fff; }
.mpl-title { font-size: 46px; line-height: 1.12; font-weight: 800; letter-spacing: -0.5px; }
.mpl-grad { background: linear-gradient(90deg, var(--mpl-blue), #6A3FC8 55%, var(--mpl-wb)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mpl-lead { margin-top: 18px; font-size: 18px; line-height: 1.55; color: var(--mpl-muted); max-width: 560px; }
.mpl-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.mpl-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none !important; color: #fff !important; padding: 16px 32px; border-radius: 12px;
    background: linear-gradient(180deg, var(--mpl-blue2), var(--mpl-blue)); font-weight: 700; font-size: 17px; box-shadow: 0 10px 24px rgba(0,54,233,.25); transition: transform .2s, box-shadow .2s; }
.mpl-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,54,233,.32); }
.mpl-btn--sm { padding: 12px 20px; font-size: 15px; width: 100%; }
.mpl-btn--ghost { background: #fff; color: var(--mpl-blue) !important; border: 1.5px solid rgba(0,54,233,.35); box-shadow: none; }
.mpl-btn--light { background: #fff; color: var(--mpl-blue) !important; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.mpl-link { color: var(--mpl-blue); font-weight: 600; text-decoration: none; }
.mpl-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 13px; color: var(--mpl-muted); }

/* макет отчета */
.mpl-hero__visual { position: relative; padding: 24px 12px; }
.mpl-mock { position: relative; z-index: 1; background: #fff; border: 1px solid var(--mpl-line); border-radius: 12px; padding: 18px; box-shadow: 0 30px 60px rgba(11,45,135,.16); animation: mpl-float 7s ease-in-out infinite; }
.mpl-mock__bar { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 12px; color: var(--mpl-muted); }
.mpl-mock__bar i { width: 9px; height: 9px; border-radius: 12px; background: #E3E8F4; }
.mpl-mock__bar i:first-child { background: #FF6B6B; } .mpl-mock__bar i:nth-child(2) { background: #FFC94D; } .mpl-mock__bar i:nth-child(3) { background: #4CD48C; }
.mpl-mock__bar span { margin-left: 8px; }
.mpl-mock__tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mpl-tile { border: 1px solid var(--mpl-line); border-radius: 12px; padding: 10px 12px; }
.mpl-tile span { display: block; font-size: 11px; color: var(--mpl-muted); }
.mpl-tile b { display: block; font-size: 20px; margin-top: 2px; color: var(--mpl-ink2); font-variant-numeric: tabular-nums; }
.mpl-tile em { font-style: normal; font-size: 11px; font-weight: 700; }
.up { color: var(--mpl-green); } .down { color: var(--mpl-red); }
.mpl-bars { display: flex; align-items: flex-end; gap: 3px; height: 110px; margin: 16px 0 12px; padding-bottom: 2px; border-bottom: 1px solid var(--mpl-line); }
.mpl-bars i { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--mpl-blue2), var(--mpl-blue)); border-radius: 12px; transform-origin: bottom; transform: scaleY(0); }
.is-in .mpl-bars i { animation: mpl-grow .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.3s + var(--d)); }
.mpl-mock__plan { font-size: 12px; color: var(--mpl-muted); display: flex; align-items: center; gap: 6px; }
.mpl-float { position: absolute; z-index: 2; background: #fff; border: 1px solid var(--mpl-line); border-radius: 12px; padding: 9px 14px; font-size: 13px; font-weight: 600; color: var(--mpl-ink2);
    box-shadow: 0 14px 30px rgba(11,45,135,.14); display: flex; align-items: center; gap: 8px; white-space: nowrap; opacity: 0; }
.is-in .mpl-float { animation: mpl-pop .6s cubic-bezier(.2,.9,.3,1.3) forwards, mpl-float 6s ease-in-out 1s infinite; }
.mpl-float--1 { top: 0; right: -6px; animation-delay: 1.1s, 1.7s !important; }
.mpl-float--2 { bottom: 34px; left: -18px; animation-delay: 1.5s, 2.1s !important; }
.mpl-float--3 { bottom: -6px; right: 10px; animation-delay: 1.9s, 2.5s !important; }
.mpl-dot { width: 9px; height: 9px; border-radius: 12px; display: inline-block; flex: 0 0 9px; }
.mpl-dot--green { background: var(--mpl-green); } .mpl-dot--yellow { background: var(--mpl-yellow); } .mpl-dot--red { background: var(--mpl-red); }
.mpl-dot--red, .mpl-dot--yellow { box-shadow: 0 0 0 0 rgba(229,72,77,.5); animation: mpl-pulse 1.8s ease-out infinite; }

/* полоса цифр */
.mpl-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--mpl-line); border: 1px solid var(--mpl-line); border-radius: 12px; overflow: hidden; margin-bottom: 72px; }
.mpl-strip__item { background: #fff; padding: 22px 20px; }
.mpl-strip__item b { display: block; font-size: 24px; color: var(--mpl-blue); }
.mpl-strip__item span { display: block; margin-top: 4px; font-size: 13px; color: var(--mpl-muted); line-height: 1.4; }

/* разделы */
.mpl-section { padding: 0 0 80px; }
.mpl-section--tint { position: relative; padding: 56px 40px; margin-bottom: 80px; background: var(--mpl-tint); border-radius: 12px; }
.mpl-h2 { font-size: 34px; line-height: 1.2; font-weight: 800; text-align: center; max-width: 760px; margin: 0 auto 14px; }
.mpl-h2--left { text-align: left; margin: 0 0 14px; }
.mpl-sub { text-align: center; color: var(--mpl-muted); font-size: 16px; line-height: 1.6; max-width: 700px; margin: 0 auto 36px; }
.mpl-sub--left { text-align: left; margin: 0 0 18px; }
.mpl-cards { display: grid; gap: 18px; margin-top: 36px; }
.mpl-cards--3 { grid-template-columns: repeat(3, 1fr); }
.mpl-cards--4 { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.mpl-card { background: #fff; border: 1px solid var(--mpl-line); border-radius: 12px; padding: 24px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.mpl-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(11,45,135,.10); border-color: #C9D5F6; }
.mpl-card--sm { padding: 20px; }
.mpl-card__icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #EAF0FF; color: var(--mpl-blue); margin-bottom: 14px; }
.mpl-card__icon svg { width: 24px; height: 24px; }
.mpl-card h3 { font-size: 18px; margin-bottom: 8px; }
.mpl-card--sm h3 { font-size: 16px; }
.mpl-card p { font-size: 14px; line-height: 1.55; color: var(--mpl-muted); }
.mpl-cards .mpl-reveal:nth-child(2) { transition-delay: .08s; } .mpl-cards .mpl-reveal:nth-child(3) { transition-delay: .16s; } .mpl-cards .mpl-reveal:nth-child(4) { transition-delay: .24s; }
.mpl-cards .mpl-reveal:nth-child(6) { transition-delay: .08s; } .mpl-cards .mpl-reveal:nth-child(7) { transition-delay: .16s; } .mpl-cards .mpl-reveal:nth-child(8) { transition-delay: .24s; }

/* шаги */
.mpl-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.mpl-steps::before { content: ''; position: absolute; top: 26px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, var(--mpl-blue), #6A3FC8, var(--mpl-wb)); transform-origin: left; transform: scaleX(0); transition: transform 1.4s cubic-bezier(.2,.7,.2,1) .3s; }
.mpl-steps.is-in::before { transform: scaleX(1); }
.mpl-step { position: relative; text-align: center; padding: 0 8px; }
.mpl-step__n { position: relative; z-index: 1; width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: #fff; background: linear-gradient(180deg, var(--mpl-blue2), var(--mpl-blue)); box-shadow: 0 0 0 8px #fff, 0 10px 24px rgba(0,54,233,.3); }
.mpl-step h3 { font-size: 19px; margin-bottom: 8px; }
.mpl-step p { font-size: 14px; line-height: 1.55; color: var(--mpl-muted); }
.mpl-step:nth-child(2) { transition-delay: .15s; } .mpl-step:nth-child(3) { transition-delay: .3s; }

/* две колонки */
.mpl-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.mpl-split--rev .mpl-split__text { order: 2; }
.mpl-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.mpl-list li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.5; color: var(--mpl-ink2); }
.mpl-list li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 12px; background: #E6F6EF; color: var(--mpl-green); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* пульт */
.mpl-board { display: flex; flex-direction: column; gap: 10px; }
.mpl-brow { display: grid; grid-template-columns: 12px 1fr auto 100px 54px; grid-template-areas: "dot name pl spark ch" "dot sig sig sig sig"; gap: 4px 10px; align-items: center; background: #fff; border: 1px solid var(--mpl-line);
    border-left: 4px solid var(--mpl-line); border-radius: 12px; padding: 12px 14px; box-shadow: 0 8px 20px rgba(11,45,135,.06); opacity: 0; transform: translateX(30px); transition: opacity .6s, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d); }
.is-in .mpl-brow { opacity: 1; transform: none; }
.mpl-brow--red { border-left-color: var(--mpl-red); } .mpl-brow--yellow { border-left-color: var(--mpl-yellow); } .mpl-brow--green { border-left-color: var(--mpl-green); }
.mpl-brow .mpl-dot { grid-area: dot; }
.mpl-brow b { grid-area: name; font-size: 14px; color: var(--mpl-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mpl-pl { grid-area: pl; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; padding: 2px 8px; border-radius: 12px; }
.mpl-pl--ozon { background: var(--mpl-ozon); } .mpl-pl--wb { background: var(--mpl-wb); }
.mpl-spark { grid-area: spark; width: 100px; height: 24px; }
.mpl-spark polyline { fill: none; stroke: var(--mpl-blue); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 160; stroke-dashoffset: 160; }
.is-in .mpl-spark polyline { animation: mpl-draw 1.4s ease forwards .6s; }
.mpl-brow > i { grid-area: ch; font-style: normal; font-size: 13px; font-weight: 700; text-align: right; }
.mpl-brow small { grid-area: sig; font-size: 12px; color: var(--mpl-muted); }
.mpl-brow--red small { color: #C02B2B; } .mpl-brow--yellow small { color: #8A6100; }

/* брендинг */
.mpl-brand { background: #fff; border: 1px solid var(--mpl-line); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 50px rgba(11,45,135,.12); }
.mpl-brand__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; color: #fff; font-size: 13px; background: #FF6600; transition: background 1s ease; }
.mpl-brand__logo { font-weight: 900; letter-spacing: 2px; font-size: 18px; }
.mpl-brand__body { padding: 20px 22px; }
.mpl-brand__body b { display: block; font-size: 17px; color: var(--mpl-ink2); }
.mpl-brand__body span { display: block; font-size: 13px; color: var(--mpl-muted); margin-top: 4px; }
.mpl-brand__lines { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.mpl-brand__lines i { height: 10px; border-radius: 12px; background: var(--mpl-tint); }
.mpl-brand__lines i:nth-child(1) { width: 92%; } .mpl-brand__lines i:nth-child(2) { width: 76%; } .mpl-brand__lines i:nth-child(3) { width: 84%; }
.mpl-brand__swatches { display: flex; gap: 10px; padding: 0 22px 20px; }
.mpl-brand__swatches i { width: 28px; height: 28px; border-radius: 12px; cursor: pointer; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); transition: transform .2s; }
.mpl-brand__swatches i:hover, .mpl-brand__swatches i.is-on { transform: scale(1.18); }

/* тарифы */
.mpl-tariffs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.mpl-tariff { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mpl-line); border-radius: 12px; padding: 22px 18px; transition: transform .25s, box-shadow .25s; }
.mpl-tariff:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(11,45,135,.10); }
.mpl-tariff.is-hot { border: 2px solid var(--mpl-blue); box-shadow: 0 20px 40px rgba(0,54,233,.16); }
.mpl-tariff__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--mpl-blue); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 12px; white-space: nowrap; }
.mpl-tariff h3 { font-size: 18px; }
.mpl-tariff__price { margin-top: 10px; font-size: 28px; font-weight: 800; color: var(--mpl-ink2); }
.mpl-tariff__price small { font-size: 13px; font-weight: 500; color: var(--mpl-muted); margin-left: 4px; }
.mpl-tariff__old { font-size: 13px; color: var(--mpl-muted); text-decoration: line-through; }
.mpl-tariff ul { list-style: none; padding: 0; margin: 16px 0 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mpl-tariff li { position: relative; padding-left: 20px; font-size: 13px; line-height: 1.45; color: var(--mpl-ink2); }
.mpl-tariff li::before { content: '✓'; position: absolute; left: 0; color: var(--mpl-green); font-weight: 800; }
.mpl-note { text-align: center; margin-top: 18px; font-size: 13px; color: var(--mpl-muted); }

/* вопросы */
.mpl-faq { max-width: 820px; margin: 32px auto 0; display: flex; flex-direction: column; gap: 10px; }
.mpl-faq__item { background: #fff; border: 1px solid var(--mpl-line); border-radius: 12px; padding: 0 20px; }
.mpl-faq__item summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative; font-weight: 700; font-size: 16px; color: var(--mpl-ink2); }
.mpl-faq__item summary::-webkit-details-marker { display: none; }
.mpl-faq__item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--mpl-blue); transition: transform .25s; }
.mpl-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.mpl-faq__item p { padding: 0 0 18px; font-size: 14px; line-height: 1.6; color: var(--mpl-muted); }

/* финальный призыв */
.mpl-final { position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: 12px; padding: 56px 24px; margin-bottom: 64px;
    background: linear-gradient(120deg, var(--mpl-blue) 0%, #4A2FD0 55%, var(--mpl-wb) 100%); background-size: 200% 200%; animation: mpl-shift 10s ease infinite; }
.mpl-final h2 { color: #fff; font-size: 32px; font-weight: 800; }
.mpl-final p { margin: 12px auto 26px; max-width: 560px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.88); }

@keyframes mpl-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes mpl-grow { to { transform: scaleY(1); } }
@keyframes mpl-pop { from { opacity: 0; transform: scale(.85) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes mpl-pulse { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.45); } 70% { box-shadow: 0 0 0 8px rgba(229,72,77,0); } 100% { box-shadow: 0 0 0 0 rgba(229,72,77,0); } }
@keyframes mpl-draw { to { stroke-dashoffset: 0; } }
@keyframes mpl-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

@media (max-width: 1100px) {
    .mpl-tariffs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mpl-cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .mpl-section--tint { padding: 40px 18px; }
    .mpl-hero, .mpl-split { grid-template-columns: 1fr; gap: 32px; }
    .mpl-split--rev .mpl-split__text { order: 0; }
    .mpl-title { font-size: 34px; }
    .mpl-strip { grid-template-columns: repeat(2, 1fr); }
    .mpl-cards--3, .mpl-steps { grid-template-columns: 1fr; }
    .mpl-steps::before { display: none; }
    .mpl-tariffs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mpl-h2 { font-size: 27px; }
}
@media (max-width: 560px) {
    .mpl-title { font-size: 29px; }
    .mpl-lead { font-size: 16px; }
    .mpl-cards--4, .mpl-tariffs { grid-template-columns: 1fr; }
    .mpl-float { font-size: 11px; padding: 7px 10px; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; }
    .mpl-float--1 { right: 0; }
    .mpl-float--2 { left: 0; }
    .mpl-mock__plan { flex-wrap: wrap; }
    .mpl-brow { grid-template-columns: 12px 1fr auto 54px; grid-template-areas: "dot name pl ch" "dot sig sig sig"; }
    .mpl-spark { display: none; }
    .mpl-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .mpl-reveal, .mpl-brow { opacity: 1; transform: none; transition: none; }
    .mpl-mock, .mpl-float, .mpl-final, .mpl-dot { animation: none !important; opacity: 1; }
    .mpl-bars i { transform: none; animation: none !important; }
    .mpl-spark polyline { stroke-dashoffset: 0; animation: none !important; }
    .mpl-steps::before { transform: none; }
}
