/* /partners/ — партнёрская программа (временная версия до кабинета в CRM).
   Токены страницы полного сопровождения: --acc, --night, --plate, оранжевый маркер #FFAC02.
   Всё под .pp, чтобы не задеть глобальные классы темы. */
.pp { --acc: #B15ECC; --acc-soft: #CE7FE8; --acc-050: #FAF3FD; --night: #252628; --night-2: #2F3033; --plate: #F6F6F6; --slate: #403F3F;
  --sun: #FFAC02; --ok: #34C759; --hair: rgba(29,29,31,.09);
  --e2: 0 2px 6px -1px rgba(29,29,31,.06), 0 12px 28px -12px rgba(29,29,31,.14);
  --e3: 0 4px 12px -2px rgba(29,29,31,.07), 0 24px 48px -20px rgba(29,29,31,.20);
  --e-acc: 0 18px 44px -20px rgba(177,94,204,.60);
  color: var(--slate); font-family: var(--display, 'ArtegraSans', Arial, sans-serif); }
.pp *, .pp *::before, .pp *::after { box-sizing: border-box; }
/* сброс без веса селектора, чтобы отступы компонентов ниже его перекрывали */
:where(.pp) :where(h1, h2, h3, p, ul, ol) { margin: 0; }
:where(.pp) :where(ul, ol) { padding: 0; list-style: none; }
.pp [hidden] { display: none !important; }

/* общие */
.pp-eyebrow { margin: 0 0 16px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--acc-soft); }
.pp-h { font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 4.2vw, 50px); line-height: 1.1; letter-spacing: -.02em;
  text-align: center; margin: 0 auto; max-width: 22ch; color: var(--slate); text-wrap: balance; }
.pp-h em { font-style: normal; color: var(--acc); }
.pp-h--left { text-align: left; margin: 0; }
.pp-h--light { color: #fff; } .pp-h--light em { color: var(--acc-soft); }
.pp-sub { max-width: 62ch; margin: 18px auto 0; text-align: center; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; color: #6b6a6e; }
.pp-sec { padding: clamp(56px, 8vw, 104px) 0; }
.pp-sec--plate { background: var(--plate); }
.pp-sec--night { background: var(--night); color: #E9E9EA; }
.pp-mark { position: relative; display: inline-block; z-index: 0; padding: 0 .25em; color: var(--night); white-space: nowrap; }
.pp-mark::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 46%; height: 1.12em; transform: translateY(-50%) rotate(-2deg);
  background: var(--sun); border-radius: .2em; }
.pp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 32px; border-radius: 59px; border: 0;
  background: var(--acc); color: #fff; font: 500 16px/1.2 var(--display, sans-serif); text-decoration: none; cursor: pointer;
  box-shadow: var(--e-acc); transition: background .2s, transform .2s; }
.pp-btn:hover { background: #9b4cb6; transform: translateY(-1px); }
.pp-btn--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.pp-btn--ghost:hover { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1.5px #fff; }
.pp-btn--light { background: #fff; color: var(--night); box-shadow: none; }
.pp-btn--light:hover { background: var(--acc-050); }
.pp-sec--tight { padding-top: 0; }

/* герой */
.pp-hero { padding: 8px 0 0; }
.pp-crumbs { display: flex; gap: 10px; padding: 34px 0 26px; font-size: 13px; color: #8d8c91; }
.pp-crumbs a { color: inherit; }
.pp-hero__plate { margin: 0 12px; border-radius: 40px; background: var(--night); color: #fff; overflow: hidden; position: relative; }
.pp-hero__plate::after { content: ""; position: absolute; right: -180px; top: -220px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(177,94,204,.38), rgba(177,94,204,0)); pointer-events: none; }
.pp-hero__grid { position: relative; z-index: 1; max-width: 1384px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 58px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.pp-hero__text .pp-eyebrow { margin-bottom: 26px; }
.pp-hero__title { font-weight: 700; text-transform: uppercase; font-size: clamp(36px, 5vw, 68px); line-height: 1.04; letter-spacing: -.02em; }
.pp-hero__lead { margin-top: 26px; max-width: 46ch; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; color: #E3E3E5; }
.pp-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pp-hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 36px; }
.pp-hero__facts li { padding: 16px 14px; border-radius: 18px; background: rgba(255,255,255,.06); }
.pp-hero__facts b { display: block; font-size: 21px; line-height: 1.1; color: #fff; }
.pp-hero__facts span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.35; color: #BDBDC2; }

/* герой: карточка выплат */
.pp-pay { position: relative; background: #fff; color: var(--slate); border-radius: 28px; padding: 26px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); transform: rotate(1.2deg); }
.pp-pay__title { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8d8c91; }
.pp-pay__list { margin-top: 14px; display: grid; gap: 8px; }
.pp-pay__list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; background: var(--plate); }
.pp-pay__list b { display: block; font-size: 19px; text-transform: uppercase; letter-spacing: -.01em; }
.pp-pay__list small { display: block; margin-top: 3px; font-size: 13px; color: #8d8c91; }
.pp-pay__list em { font-style: normal; font-size: 26px; font-weight: 700; line-height: 1; color: var(--acc); white-space: nowrap; }
.pp-pay__list .is-acc { background: var(--acc); color: #fff; } .pp-pay__list .is-acc small { color: rgba(255,255,255,.8); } .pp-pay__list .is-acc em { color: #fff; }
.pp-pay__foot { margin-top: 14px; font-size: 13.5px; line-height: 1.45; color: #8d8c91; }

/* шаги */
.pp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(32px, 4vw, 52px); counter-reset: s; }
.pp-steps li { padding: 26px 22px; border-radius: 24px; background: #fff; box-shadow: var(--e2); }
.pp-steps__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--acc-050); color: var(--acc); font-weight: 700; font-size: 15px; }
.pp-steps__n--acc { background: var(--sun); color: var(--night); }
.pp-steps h3 { margin-top: 18px; font-size: 20px; line-height: 1.2; }
.pp-steps p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: #6b6a6e; }

/* правила */
.pp-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(32px, 4vw, 52px); }
.pp-rule { padding: 26px 24px; border-radius: 24px; background: var(--plate); }
.pp-rule h3 { font-size: 19px; line-height: 1.25; }
.pp-rule p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: #6b6a6e; }

/* кто партнёры */
.pp-who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: clamp(32px, 4vw, 48px); }
.pp-who li { padding: 22px; border-radius: 22px; background: #fff; box-shadow: var(--e2); }
.pp-who b { display: block; font-size: 17px; } .pp-who span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.45; color: #6b6a6e; }
.pp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 760px; margin: 40px auto 0; text-align: center; }
.pp-stats b { display: block; font-size: clamp(34px, 4vw, 52px); font-weight: 700; color: var(--acc); line-height: 1; }
.pp-stats span { display: block; margin-top: 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #8d8c91; }

/* вопросы */
.pp-faq { max-width: 860px; }
.pp-faq .pp-h { margin-bottom: clamp(28px, 4vw, 44px); }
.pp-faq details { margin-top: 10px; border-radius: 20px; background: var(--plate); }
.pp-faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; font-size: 18px; font-weight: 600; }
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%;
  background: #fff; display: grid; place-items: center; color: var(--acc); font-size: 20px; transition: transform .2s; }
.pp-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.pp-faq details p { padding: 0 24px 22px; font-size: 16px; line-height: 1.6; color: #5d5c60; }

/* как присоединиться */
.pp-join { padding: 0 0 clamp(56px, 8vw, 104px); }
.pp-join__plate { margin: 0 12px; border-radius: 40px; background: var(--night); color: #fff; padding: clamp(36px, 5vw, 72px) clamp(20px, 4vw, 58px);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start;
  max-width: 1384px; margin-inline: auto; position: relative; overflow: hidden; }
@media (max-width: 1408px) { .pp-join__plate { margin-inline: 12px; } }
.pp-join__plate::after { content: ""; position: absolute; left: -200px; bottom: -260px; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(177,94,204,.32), rgba(177,94,204,0)); pointer-events: none; }
.pp-join__text, .pp-form { position: relative; z-index: 1; }
.pp-join__title { font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.08; letter-spacing: -.02em; }
.pp-join__text p:not(.pp-eyebrow) { margin-top: 20px; font-size: 17px; line-height: 1.55; color: #D6D6DA; max-width: 40ch; }
.pp-contact { margin-top: 30px; }
.pp-contact__label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #BDBDC2; }
.pp-contact__row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pp-contact__btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; transition: filter .2s, transform .2s; }
.pp-contact__btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
.pp-contact__btn svg { flex: none; width: 20px; height: 20px; }
.pp-contact__btn--wa { background: #4AAA52; } .pp-contact__btn--tg { background: #0088CC; }
.pp-contact__mail { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: #C9C9CE; } .pp-contact__mail a { color: #fff; }

/* форма заявки */
.pp-form { display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px); border-radius: 28px; background: #fff; color: var(--slate); }
.pp-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: #6b6a6e; }
.pp-form label small { font-weight: 400; color: #a3a2a7; }
.pp-form input:not([type=checkbox]), .pp-form textarea { width: 100%; height: 52px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--plate);
  font: 400 16px/1.3 var(--display, sans-serif); color: var(--slate); outline: none; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .15s, background .15s; }
.pp-form textarea { height: auto; min-height: 104px; padding: 14px 16px; resize: vertical; }
.pp-form input:focus, .pp-form textarea:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--acc-soft); }
.pp-form input.is-bad { box-shadow: inset 0 0 0 1.5px #ff6b62; }
.pp-form__2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pp-form__chk { grid-template-columns: 22px 1fr !important; align-items: start; font-weight: 400 !important; font-size: 13.5px !important; line-height: 1.45; }
.pp-form__chk input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--acc); }
.pp-form__chk a { color: var(--acc); text-decoration: underline; }
.pp-form__chk.is-bad span { color: #d93b30; }
.pp-form .pp-btn { width: 100%; margin-top: 4px; }
.pp-form .pp-btn[disabled] { opacity: .7; cursor: progress; }
.pp-form__err { padding: 12px 14px; border-radius: 14px; background: #FDECEB; font-size: 14px; line-height: 1.45; color: #b3261e; }
.pp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pp-done { position: relative; z-index: 1; padding: clamp(22px, 3vw, 36px); border-radius: 28px; background: #fff; color: var(--slate); display: grid; gap: 12px; align-content: start; }
.pp-done .pp-eyebrow { margin: 0; color: var(--acc); }
.pp-done h3 { font-size: 28px; text-transform: uppercase; letter-spacing: -.01em; }
.pp-done p:not(.pp-eyebrow) { font-size: 16px; line-height: 1.55; color: #6b6a6e; }
.pp-link { justify-self: start; color: var(--acc); font-size: 15px; font-weight: 500; text-decoration: underline; }

/* калькулятор по количеству клиентов */
.pp-calc2 { max-width: 1000px; margin: clamp(28px, 4vw, 44px) auto 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  border-radius: 32px; overflow: hidden; box-shadow: var(--e3); }
.pp-calc2__in { padding: clamp(24px, 3.5vw, 44px); background: #fff; display: flex; flex-direction: column; justify-content: center; }
.pp-calc2__top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; }
.pp-calc2__top label { padding-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8d8c91; }
.pp-calc2__num { display: flex; align-items: baseline; gap: 10px; }
.pp-calc2__num output { font-size: clamp(60px, 7vw, 88px); font-weight: 700; line-height: 1; color: var(--acc); font-variant-numeric: tabular-nums; }
.pp-calc2__num span { font-size: 19px; }
.pp-range { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; margin: 0; border-radius: 99px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--acc) 0 var(--p, 10%), #ECE9EF var(--p, 10%) 100%); }
.pp-range::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 7px rgba(177,94,204,.18), 0 4px 12px rgba(0,0,0,.18); }
.pp-range::-moz-range-thumb { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 7px rgba(177,94,204,.18), 0 4px 12px rgba(0,0,0,.18); }
.pp-range__scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12.5px; color: #a3a2a7; }
.pp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pp-chips button { min-width: 52px; padding: 10px 16px; border: 0; border-radius: 999px; background: var(--plate); color: var(--slate); font: 600 15px/1 var(--display, sans-serif); cursor: pointer; }
.pp-chips button:hover, .pp-chips button.on { background: var(--acc-050); color: var(--acc); box-shadow: inset 0 0 0 1.5px var(--acc-soft); }
.pp-calc2__out { padding: clamp(24px, 3.5vw, 44px); background: var(--night); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.pp-calc2__out small { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #BDBDC2; }
.pp-calc2__sum { margin-top: 10px; font-size: clamp(40px, 5vw, 62px); font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--sun); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pp-calc2__range { margin-top: 14px; font-size: 15px; line-height: 1.45; color: #C9C9CE; } .pp-calc2__range b { color: #fff; font-weight: 600; white-space: nowrap; }
.pp-calc2__out .pp-btn { align-self: flex-start; }
.pp-calc2__note { max-width: 640px; margin: 18px auto 0; text-align: center; font-size: 14px; line-height: 1.5; color: #8d8c91; }

/* ставки: три пакета */
.pp-rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 1080px; margin: clamp(32px, 4vw, 48px) auto 0; align-items: stretch; }
.pp-rate { position: relative; padding: 30px 26px 26px; border-radius: 28px; background: #fff; box-shadow: var(--e2); display: flex; flex-direction: column; }
.pp-rate__badge { position: absolute; top: -12px; left: 26px; padding: 6px 12px; border-radius: 999px; background: var(--sun); color: var(--night); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pp-rate__name { font-size: 26px; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
.pp-rate__price { margin-top: 6px; font-size: 14px; color: #8d8c91; }
.pp-rate__desc { margin-top: 14px; font-size: 15px; line-height: 1.5; color: #6b6a6e; flex: 1; }
.pp-rate__fee { margin-top: 22px; display: flex; justify-content: space-between; align-items: baseline; padding: 16px 18px; border-radius: 18px; background: var(--acc-050); }
.pp-rate__fee small { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); }
.pp-rate__fee b { font-size: 30px; line-height: 1; color: var(--acc); }
.pp-rate--mid { box-shadow: var(--e3), inset 0 0 0 2px var(--acc-soft); }
.pp-rate--top { background: var(--night); color: #fff; }
.pp-rate--top .pp-rate__desc { color: #C9C9CE; } .pp-rate--top .pp-rate__price { color: #a3a2a7; }
.pp-rate--top .pp-rate__fee { background: rgba(255,255,255,.07); } .pp-rate--top .pp-rate__fee small, .pp-rate--top .pp-rate__fee b { color: var(--sun); }
.pp-rates__rules { max-width: 1080px; margin: 30px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pp-rates__rules li { font-size: 14.5px; line-height: 1.5; color: #6b6a6e; padding-left: 16px; border-left: 3px solid var(--acc-soft); }
.pp-rates__rules b { display: block; color: var(--slate); margin-bottom: 4px; }

/* адаптив */
@media (max-width: 1100px) {
  .pp-steps { grid-template-columns: repeat(2, 1fr); }
  .pp-rules, .pp-who { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .pp-hero__grid, .pp-join__plate, .pp-calc2, .pp-rates, .pp-rates__rules { grid-template-columns: 1fr; }
  .pp-rates { max-width: 520px; gap: 22px; }
  .pp-pay { transform: none; }
}
@media (max-width: 640px) {
  .pp-hero__plate, .pp-join__plate { margin-inline: 8px; border-radius: 28px; }
  .pp-hero__ctas { flex-direction: column; } .pp-hero__ctas .pp-btn { width: 100%; }
  .pp-hero__facts { grid-template-columns: 1fr; } .pp-hero__facts li { display: grid; grid-template-columns: 118px 1fr; gap: 12px; align-items: center; }
  .pp-hero__facts b { font-size: 18px; } .pp-hero__facts span { margin-top: 0; }
  .pp-pay { padding: 18px; border-radius: 22px; }
  .pp-pay__list li { padding: 14px; } .pp-pay__list b { font-size: 16px; } .pp-pay__list em { font-size: 21px; }
  .pp-steps, .pp-rules, .pp-who, .pp-rates { grid-template-columns: 1fr; }
  .pp-calc2__out .pp-btn { align-self: stretch; } .pp-calc2__sum { font-size: 44px; }
  .pp-stats { grid-template-columns: 1fr; gap: 22px; }
  .pp-faq summary { font-size: 16px; padding: 18px 52px 18px 18px; } .pp-faq details p { padding: 0 18px 18px; font-size: 15px; }
  .pp-form__2 { grid-template-columns: 1fr; }
}
