/* ==========================================================================
   DropHub — «Зарабатывай с нами» (affiliates.html, с 2026-10-25)

   Лендинг для монтажёров и блогеров: нарезки из креативов DropHub для
   TikTok, Instagram Reels и YouTube Shorts, все условия — у менеджера в
   Telegram (@wedrophub). Сумм и обещаний на странице нет намеренно.

   Язык — как у бонусов и VIP (rewards.css, vip.css): индиго-поверхности,
   заголовки Oswald капсом, текст Inter, лайм — главное действие.
   Шапка — текст слева, справа креатив владельца (assets/earn/hero-*.webp:
   девушка и значки TikTok и Instagram; края картинки уже прозрачные,
   поэтому она ложится на фон без «окошка»; собирает её
   tools/build_earn_creative.py). Стеклянные плашки «просмотров / лайков /
   подписчиков» — HTML поверх картинки (.er-chip), размер — от ширины
   креатива (cqw), поэтому они чёткие и пропорциональные на любом экране.
   Дальше: 01 шаги, 02 что даём + 03 кому подойдёт, 04 площадки, 05 FAQ,
   финальная полоса с кнопкой и строка 18+.

   Телефон — до 760px (тот же порог, что в mobile.css).
   ========================================================================== */

.er-body {
  --er-bg:     #1A1430;
  --er-surf:   #211A3D;
  --er-surf-2: #2A2250;
  --er-line:   #2B2448;
  --er-text:   #F2F5F7;
  --er-dim:    #A9A2CF;
  --er-mute:   #8F86B8;
  --er-hair:   rgba(255, 255, 255, .08);
  --er-lime:   var(--lime, #D7FF00);
  --er-green:  #6DEA5D;
  --er-tg:     #2AABEE;
  background-color: var(--er-bg);
}

.er-page {
  max-width: 1240px; margin: 0 auto;
  padding: 6px 20px 72px;
  color: var(--er-text);
}
.er-page img { max-width: 100%; }

/* ---------- кнопки ---------- */
.er-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border: 0; border-radius: 12px;
  font-family: var(--f-cond), sans-serif; font-size: 16px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, box-shadow .15s, color .15s, transform .15s;
}
.er-btn svg { width: 20px; height: 20px; flex: none; }
.er-btn:focus-visible { outline: 2px solid var(--er-lime); outline-offset: 3px; }
.er-btn--big { height: 58px; padding: 0 30px; border-radius: 14px; font-size: 18px; }
.er-btn--lime {
  background: var(--er-lime); color: #12150A;
  box-shadow: 0 10px 30px -10px rgba(215, 255, 0, .55);
}
.er-btn--lime:hover { background: #E4FF4A; transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(215, 255, 0, .65); }
.er-btn--line { background: transparent; color: var(--er-lime); box-shadow: inset 0 0 0 1.5px rgba(215, 255, 0, .5); }
.er-btn--line:hover { background: rgba(215, 255, 0, .06); box-shadow: inset 0 0 0 1.5px var(--er-lime); }

/* ═══════════════ ШАПКА ═══════════════ */
.er-top {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) 540px; align-items: center; gap: 12px;
  margin: 12px -20px 0; padding: 0 28px 0 56px; min-height: 560px;
}
/* сцена под шапкой: камуфляж сайта под индиго-вуалью и мягкий свет за
   креативом; края растворяются маской — как у бонусов и VIP */
.er-top__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border-radius: 20px 20px 0 0;
  background:
    radial-gradient(40% 60% at 76% 46%, rgba(150, 90, 255, .30), rgba(150, 90, 255, .08) 60%, transparent 100%),
    radial-gradient(30% 40% at 16% 30%, rgba(215, 255, 0, .05), transparent 100%),
    linear-gradient(180deg, rgba(48, 34, 96, .52) 0%, rgba(30, 22, 62, .6) 100%),
    url('assets/bg_camo_ref.jpg') 30% 20% / 520px auto repeat, #1E1739;
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, #000 6%, #000 70%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(180deg, transparent 0%, #000 6%, #000 70%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
          mask-composite: intersect;
}
.er-top__body {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  min-width: 0; padding: 48px 0 56px;
}
/* узкий запасной шрифт: пока Oswald грузится, «ЗАРАБАТЫВАЙ» не вылезает
   из колонки под креатив (Inter шире почти на четверть) */
.er-top__title {
  margin: 0;
  font-family: 'Oswald', 'Arial Narrow', 'Bahnschrift Condensed', 'Roboto Condensed', 'sans-serif-condensed', sans-serif; font-weight: 700; font-size: clamp(48px, 6.2vw, 88px);
  line-height: .98; letter-spacing: .01em; text-transform: uppercase;
  color: var(--er-lime); text-shadow: 0 4px 18px rgba(0, 0, 0, .5);
}
.er-top__title span { display: block; color: #fff; }
.er-top__lead {
  margin: 0; max-width: 520px;
  font-size: 16.5px; line-height: 1.55; color: #E4DEF7; text-shadow: 0 1px 10px rgba(0, 0, 0, .6);
}
.er-top__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 8px; }

/* @wedrophub рядом с кнопкой — круглый значок Telegram и подпись */
.er-tg { display: inline-flex; align-items: center; gap: 11px; color: var(--er-text); text-decoration: none; }
.er-tg i {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%;
  background: var(--er-tg); color: #fff; box-shadow: 0 6px 18px -6px rgba(42, 171, 238, .7);
}
.er-tg i svg { width: 21px; height: 21px; margin-left: -2px; }
.er-tg span { display: flex; flex-direction: column; line-height: 1.2; }
.er-tg b { font-size: 15px; font-weight: 700; }
.er-tg small { font-size: 12.5px; color: var(--er-mute); }
.er-tg:hover b { color: var(--er-lime); }

.er-perks { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 0; padding: 0; list-style: none; }
.er-perks li {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 13px 0 10px;
  border-radius: 999px; background: rgba(20, 14, 42, .66); box-shadow: inset 0 0 0 1px rgba(160, 125, 255, .18);
  font-size: 13px; font-weight: 600; color: #E6E1F8; white-space: nowrap;
}
.er-perks svg { width: 17px; height: 17px; flex: none; color: var(--er-lime); }

.er-top__art { position: relative; margin: 0; align-self: end; container-type: inline-size; }
.er-top__art img { display: block; width: 100%; height: auto; }

/* стеклянные плашки «вирусного ролика» поверх креатива */
.er-chips { position: absolute; inset: 0; pointer-events: none; }
.er-chip {
  --h: clamp(34px, 7.3cqw, 46px);
  --p: calc(var(--h) * .15);
  position: absolute; left: var(--x); top: var(--y);
  display: flex; align-items: center; gap: calc(var(--h) * .24);
  height: var(--h); padding: 0 calc(var(--h) * .42) 0 var(--p); border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 55%),
    rgba(24, 15, 48, .72);
  -webkit-backdrop-filter: blur(10px) saturate(1.35);
          backdrop-filter: blur(10px) saturate(1.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .17), 0 12px 26px -10px rgba(4, 0, 14, .75);
  white-space: nowrap;
}
.er-chip i {
  display: grid; place-items: center; flex: none;
  width: calc(var(--h) - var(--p) * 2); height: calc(var(--h) - var(--p) * 2); border-radius: 50%;
  background: #fff; color: #1A1238;
}
.er-chip i svg { width: 58%; height: 58%; }
.er-chip.is-likes i { background: #FE2C55; color: #fff; }
.er-chip.is-subs i { background: var(--er-lime); color: #12150A; }
.er-chip > span { display: flex; flex-direction: column; }
.er-chip b {
  font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 600;
  font-size: clamp(14px, 3.15cqw, 19px); line-height: 1.05; letter-spacing: .02em; color: #fff;
}
.er-chip small { font-size: clamp(10.5px, 2.05cqw, 12.5px); font-weight: 600; line-height: 1.15; color: #D3CBF1; }

/* ---------- общее для блоков ---------- */
.er-sec {
  position: relative; overflow: hidden;
  border-radius: 20px; background: var(--er-surf);
  box-shadow: inset 0 0 0 1px rgba(160, 125, 255, .08);
  scroll-margin-top: 96px;
}
.er-kick {
  display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--er-mute);
}
.er-kick b { font-family: var(--f-cond), sans-serif; font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--er-lime); }
.er-h {
  margin: 0;
  font-family: var(--f-cond), sans-serif; font-weight: 600; font-size: clamp(30px, 3vw, 42px);
  line-height: 1.04; letter-spacing: .005em; color: var(--er-text);
  text-wrap: balance;
}
.er-h em { font-style: normal; color: var(--er-lime); }
.er-p { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: var(--er-dim); max-width: 52ch; }

/* ═══════════════ 01 · ШАГИ ═══════════════ */
.er-how {
  margin-top: 8px; padding: 34px 36px 36px;
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(150, 90, 255, .16), transparent 70%),
    linear-gradient(180deg, #261E48, #1F1840);
}
.er-head { margin-bottom: 24px; }
.er-steps {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
  margin: 0; padding: 0; list-style: none; counter-reset: none;
}
.er-step {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0;
  padding: 22px 20px 22px; border-radius: 16px;
  background: rgba(14, 9, 36, .5); box-shadow: inset 0 0 0 1px var(--er-hair);
}
/* стрелка-связка между карточками */
.er-step:not(:last-child)::after {
  content: ''; position: absolute; top: 44px; right: -13px; z-index: 1;
  width: 12px; height: 12px; border-top: 2px solid rgba(215, 255, 0, .55); border-right: 2px solid rgba(215, 255, 0, .55);
  transform: rotate(45deg);
}
.er-step__n {
  position: absolute; top: 12px; right: 16px;
  font-family: var(--f-cond), sans-serif; font-size: 54px; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(215, 255, 0, .32);
  letter-spacing: .02em;
}
.er-step__ico {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px;
  background: rgba(215, 255, 0, .1); box-shadow: inset 0 0 0 1.5px rgba(215, 255, 0, .45);
  color: var(--er-lime);
}
.er-step__ico svg { width: 25px; height: 25px; }
.er-step__ico.is-tg { background: var(--er-tg); box-shadow: 0 8px 20px -8px rgba(42, 171, 238, .8); color: #fff; }
.er-step__ico.is-tg svg { margin-left: -2px; }
.er-step h3 {
  margin: 6px 0 0;
  font-family: var(--f-cond), sans-serif; font-size: 21px; font-weight: 600; line-height: 1.1;
  letter-spacing: .01em; color: #fff;
}
.er-step p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--er-dim); }
.er-step a { color: var(--er-lime); font-weight: 600; text-decoration: none; }
.er-step a:hover { text-decoration: underline; text-underline-offset: 3px; }
.er-step.is-pay {
  background: linear-gradient(160deg, rgba(109, 234, 93, .12), rgba(14, 9, 36, .5) 60%);
  box-shadow: inset 0 0 0 1px rgba(109, 234, 93, .28);
}
.er-step.is-pay .er-step__ico { background: rgba(109, 234, 93, .12); box-shadow: inset 0 0 0 1.5px rgba(109, 234, 93, .55); color: var(--er-green); }
.er-step__ico.is-art, .er-step.is-pay .er-step__ico.is-art { background: none; box-shadow: none; }
.er-step__ico.is-art img { width: 50px; height: 50px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(6, 2, 18, .55)); }
.er-step.is-pay .er-step__ico.is-art img { filter: drop-shadow(0 6px 14px rgba(109, 234, 93, .35)); }
.er-step.is-pay .er-step__n { -webkit-text-stroke-color: rgba(109, 234, 93, .38); }

/* ═══════════════ 02 + 03 ═══════════════ */
.er-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.er-give, .er-fit { padding: 32px 34px 34px; }
.er-give {
  background:
    radial-gradient(70% 60% at 0% 0%, rgba(215, 255, 0, .07), transparent 70%),
    linear-gradient(180deg, #251D46, #1F1840);
}
.er-fit {
  display: flex; flex-direction: column;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(254, 44, 85, .1), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(37, 244, 238, .07), transparent 70%),
    linear-gradient(180deg, #251D46, #1F1840);
}
.er-list, .er-who { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.er-list li, .er-who li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px; border-radius: 14px;
  background: rgba(14, 9, 36, .45); box-shadow: inset 0 0 0 1px var(--er-hair);
}
.er-list li > i {
  position: relative; flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%;
  background: var(--er-lime);
}
.er-list li > i::after {
  content: ''; position: absolute; left: 9px; top: 5.5px; width: 6px; height: 11px;
  border: solid #12150A; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg);
}
.er-list div, .er-who div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.er-list b, .er-who b { font-size: 15px; font-weight: 700; line-height: 1.3; color: #fff; }
.er-list span, .er-who span { font-size: 13.5px; line-height: 1.5; color: var(--er-dim); }

.er-who li > i {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(160deg, #3A2E6E, #2A2150); box-shadow: inset 0 0 0 1px rgba(190, 160, 255, .22);
  color: #DCD2FF;
}
.er-who li > i svg { width: 22px; height: 22px; }
.er-need {
  display: flex; align-items: center; gap: 10px; margin: auto 0 0; padding-top: 18px;
  font-size: 14px; font-weight: 600; color: var(--er-green);
}
.er-need svg { width: 20px; height: 20px; flex: none; }

/* ═══════════════ 04 · ПЛОЩАДКИ ═══════════════ */
.er-plat {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 28px;
  margin-top: 16px; padding: 32px 34px;
  background:
    radial-gradient(50% 120% at 100% 50%, rgba(150, 90, 255, .18), transparent 70%),
    linear-gradient(180deg, #251D46, #1F1840);
}
.er-plat__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.er-pf {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0;
  padding: 20px 18px 18px; border-radius: 16px;
  background: rgba(14, 9, 36, .5); box-shadow: inset 0 0 0 1px var(--er-hair);
  overflow: hidden;
}
.er-pf::before {
  content: ''; position: absolute; left: -20%; top: -40%; width: 90%; height: 90%; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow, rgba(255, 255, 255, .1)), transparent);
}
.er-pf.is-tt { --glow: rgba(37, 244, 238, .16); }
.er-pf.is-ig { --glow: rgba(255, 80, 140, .2); }
.er-pf.is-yt { --glow: rgba(255, 255, 255, .1); }
.er-pf img, .er-pf__play {
  position: relative; width: 60px; height: 60px; flex: none;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45));
}
.er-pf img { border-radius: 15px; }
/* Shorts — свой нейтральный значок, но из того же «материала», что и
   глянцевые плитки TikTok и Instagram */
.er-pf__play {
  display: grid; place-items: center; border-radius: 15px;
  background: linear-gradient(145deg, #2B2448, #120E22); color: #fff;
  filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(255, 255, 255, .06),
    0 10px 24px -10px rgba(0, 0, 0, .7), 0 0 22px -6px rgba(255, 60, 80, .45);
}
.er-pf__play svg { width: 40px; height: 40px; }
.er-pf div { position: relative; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.er-pf b { font-family: var(--f-cond), sans-serif; font-size: 20px; font-weight: 600; letter-spacing: .01em; color: #fff; }
.er-pf span { font-size: 13px; line-height: 1.45; color: var(--er-dim); }

/* ═══════════════ 05 · FAQ ═══════════════ */
.er-faq {
  display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 32px; align-items: start;
  margin-top: 16px; padding: 32px 34px 34px;
  background: linear-gradient(180deg, #241C44, #1F1840);
}
.er-faq__side { display: flex; flex-direction: column; align-items: flex-start; }
.er-faq__side .er-btn { margin-top: 20px; text-transform: none; letter-spacing: .02em; }
.er-faq__list { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.er-faq details {
  border-radius: 14px; background: rgba(14, 9, 36, .45); box-shadow: inset 0 0 0 1px var(--er-hair);
  transition: background-color .15s, box-shadow .15s;
}
.er-faq details[open] { background: var(--er-surf-2); box-shadow: inset 0 0 0 1px rgba(215, 255, 0, .2); }
.er-faq summary {
  position: relative; display: block; cursor: pointer; list-style: none;
  padding: 17px 54px 17px 20px;
  font-size: 15.5px; font-weight: 600; line-height: 1.35; color: #fff;
}
.er-faq summary::-webkit-details-marker { display: none; }
.er-faq summary::after {
  content: ''; position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: rgba(215, 255, 0, .1);
  box-shadow: inset 0 0 0 1.5px rgba(215, 255, 0, .5);
}
.er-faq summary::before {
  content: '+'; position: absolute; right: 18px; top: 50%; z-index: 1; width: 22px; margin-top: -12px;
  font-family: var(--f-cond), sans-serif; font-size: 18px; font-weight: 600; line-height: 22px; text-align: center;
  color: var(--er-lime);
}
.er-faq details[open] summary::before { content: '–'; }
.er-faq summary:focus-visible { outline: 2px solid var(--er-lime); outline-offset: -2px; border-radius: 14px; }
.er-faq details p { margin: -4px 0 0; padding: 0 20px 18px; font-size: 14.5px; line-height: 1.6; color: var(--er-dim); }
.er-faq details a { color: var(--er-lime); font-weight: 600; text-decoration: none; }
.er-faq details a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ═══════════════ ФИНАЛЬНЫЙ ПРИЗЫВ ═══════════════ */
.er-cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px;
  margin-top: 16px; padding: 40px 48px; border-radius: 22px;
  background:
    radial-gradient(40% 120% at 0% 100%, rgba(215, 255, 0, .14), transparent 70%),
    radial-gradient(50% 140% at 100% 0%, rgba(160, 90, 255, .5), transparent 70%),
    linear-gradient(120deg, #34236E, #24184F 55%, #1E1544);
  box-shadow: inset 0 0 0 1px rgba(190, 160, 255, .22), 0 20px 50px -24px rgba(110, 60, 220, .6);
}
.er-cta__txt { position: relative; z-index: 1; min-width: 0; max-width: 640px; }
.er-cta__h {
  margin: 0;
  font-family: 'Oswald', 'Arial Narrow', 'Bahnschrift Condensed', 'Roboto Condensed', 'sans-serif-condensed', sans-serif; font-weight: 700; font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08; letter-spacing: .01em; text-transform: uppercase; color: #fff;
  text-wrap: balance;
}
.er-cta__h em { font-style: normal; color: var(--er-lime); }
.er-cta__txt p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.55; color: #DCD5F2; text-wrap: pretty; }
.er-cta__act { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; flex: none; }
.er-cta__act span { font-size: 13px; color: #C9C1EA; }
/* значки площадок между текстом и кнопкой (на узком — в углу полосы) */
.er-cta__deco { position: relative; z-index: 0; flex: none; width: 128px; height: 118px; pointer-events: none; }
.er-cta__tile {
  position: absolute; width: 76px; height: 76px; border-radius: 19px;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .45));
}
.er-cta__tile.is-tt { left: 0; top: 0; transform: rotate(-12deg); }
.er-cta__tile.is-ig { right: 0; bottom: 0; width: 62px; height: 62px; border-radius: 16px; transform: rotate(10deg); }
.er-cta__tile.is-yt { left: 6px; bottom: -6px; width: 54px; height: 54px; border-radius: 14px; transform: rotate(6deg); }


/* ═══════════════ АДАПТИВ ═══════════════ */
@media (min-width: 1320px) {
  .er-top { margin-left: -40px; margin-right: -40px; padding-left: 76px; padding-right: 48px; }
}
@media (max-width: 1180px) {
  .er-top { grid-template-columns: minmax(0, 1fr) 440px; padding-left: 44px; padding-right: 16px; min-height: 520px; }
  .er-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .er-step:nth-child(2)::after { display: none; }
  .er-cta__txt { max-width: 520px; }
  .er-cta { gap: 24px 28px; padding: 36px 40px; }
}
/* узкий ноутбук: три плашки под кнопкой — в одну строку */
@media (min-width: 901px) and (max-width: 1180px) {
  .er-perks { gap: 6px; }
  .er-perks li { height: 34px; padding: 0 9px 0 7px; gap: 5px; font-size: 11.5px; }
  .er-perks svg { width: 14px; height: 14px; }
}
@media (max-width: 1100px) {
  .er-plat { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .er-faq { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 960px) {
  .er-duo { grid-template-columns: minmax(0, 1fr); }
  .er-cta { flex-direction: column; align-items: flex-start; }
  .er-cta__act { align-items: flex-start; }
  .er-cta__deco { position: absolute; top: 24px; right: 28px; }
  .er-cta__txt { padding-right: 150px; }
}
/* планшет и телефон: креатив сверху, текст заходит на его затухающий низ */
@media (max-width: 900px) {
  .er-top { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 36px; min-height: 0; }
  .er-top__art { order: -1; justify-self: center; width: min(100%, 560px); margin-bottom: -80px; }
  /* низ креатива (пояс, юбка) гаснет до того, как начинается текст */
  .er-top__art img {
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 85%);
            mask-image: linear-gradient(180deg, #000 60%, transparent 85%);
  }
  .er-top__title { font-size: clamp(48px, 8vw, 72px); }
  .er-top__body { padding: 0 0 44px; }
  .er-top__bg {
    -webkit-mask-image:
      linear-gradient(180deg, transparent 0%, #000 6%, #000 82%, transparent 100%),
      linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
            mask-image:
      linear-gradient(180deg, transparent 0%, #000 6%, #000 82%, transparent 100%),
      linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  }
}
/* планшет: креатив по центру — и текст под ним по центру */
@media (min-width: 761px) and (max-width: 900px) {
  .er-top__body { align-items: center; text-align: center; }
  .er-top__cta, .er-perks { justify-content: center; }
  .er-tg { text-align: left; }
}
@media (max-width: 760px) {
  .er-page { padding: 0 12px 48px; }
  .er-top { margin: 0 -12px; padding: 0 16px; }
  .er-top__art { width: calc(100% + 32px); max-width: 520px; margin: 0 -16px -70px; }
  .er-top__body { gap: 12px; padding-bottom: 32px; }
  .er-top__title { font-size: clamp(40px, 12.4vw, 60px); }
  .er-top__lead { font-size: 14.5px; line-height: 1.5; }
  .er-top__cta { align-self: stretch; gap: 14px; }
  .er-top__cta .er-btn { flex: 1 1 100%; min-width: 0; height: 54px; font-size: 17px; }
  .er-tg { margin: 0; }
  .er-perks { gap: 6px; margin-top: 4px; }
  .er-perks li { height: 32px; padding: 0 11px 0 9px; font-size: 12px; }
  .er-perks svg { width: 15px; height: 15px; }

  .er-sec { border-radius: 16px; }
  .er-how { padding: 24px 16px 18px; }
  .er-head { margin-bottom: 18px; }
  .er-h { font-size: 29px; }
  .er-steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .er-step { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 4px 14px; padding: 16px 16px 16px 14px; }
  .er-step::after { display: none; }
  .er-step__ico { grid-row: span 2; width: 46px; height: 46px; border-radius: 13px; }
  .er-step__ico svg { width: 23px; height: 23px; }
  .er-step h3 { margin: 1px 50px 0 0; font-size: 19px; }
  .er-step p { font-size: 13.5px; }
  .er-step__n { top: 12px; right: 12px; font-size: 34px; }

  .er-duo { gap: 12px; margin-top: 12px; }
  .er-give, .er-fit { padding: 24px 16px 18px; }
  .er-list, .er-who { margin-top: 18px; gap: 8px; }
  .er-list li, .er-who li { padding: 13px 14px; gap: 12px; }
  .er-list b, .er-who b { font-size: 14.5px; }
  .er-list span, .er-who span { font-size: 13px; }
  .er-who li > i { width: 40px; height: 40px; }
  .er-need { font-size: 13.5px; align-items: flex-start; }

  .er-plat { margin-top: 12px; padding: 24px 16px 16px; gap: 18px; }
  .er-plat__list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .er-pf { flex-direction: row; align-items: center; padding: 14px; }
  .er-pf img, .er-pf__play { width: 52px; height: 52px; border-radius: 13px; }
  .er-pf__play svg { width: 34px; height: 34px; }
  .er-pf b { font-size: 18px; }

  .er-faq { margin-top: 12px; padding: 24px 16px 16px; gap: 18px; }
  .er-faq__side .er-btn { margin-top: 16px; }
  .er-faq summary { padding: 15px 50px 15px 16px; font-size: 14.5px; }
  .er-faq summary::after, .er-faq summary::before { right: 14px; }
  .er-faq details p { padding: 0 16px 16px; font-size: 14px; }

  .er-cta { margin-top: 12px; padding: 28px 18px 22px; border-radius: 18px; gap: 18px; }
  .er-cta__txt { padding-right: 0; }
  .er-cta__h { font-size: 30px; }
  .er-cta__txt p { font-size: 14.5px; }
  .er-cta__act { align-self: stretch; align-items: center; }
  .er-cta__act .er-btn { width: 100%; height: 54px; font-size: 17px; }
  /* телефон: значки — строкой над заголовком, чтобы он шёл во всю ширину */
  .er-cta__deco { position: relative; top: auto; right: auto; order: -1; width: 112px; height: 62px; margin: 0 0 -4px 2px; }
  .er-cta__tile { width: 56px; height: 56px; border-radius: 14px; }
  .er-cta__tile.is-ig { left: 52px; right: auto; top: 10px; bottom: auto; width: 48px; height: 48px; border-radius: 12px; }
  .er-cta__tile.is-yt { left: 100px; right: auto; top: 4px; bottom: auto; width: 46px; height: 46px; border-radius: 12px; }
  .er-cta__deco { width: 152px; }
}
@media (max-width: 380px) {
  .er-top__title { font-size: 40px; }
  .er-perks li { font-size: 11.5px; }
  .er-h { font-size: 27px; }
  .er-cta__h { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .er-btn { transition: none; }
  .er-btn--lime:hover { transform: none; }
}
