/*
 * Nexus Pay — Сайт 2.0 (26.11.2026). Макет: дизайн-холст владельца Site2 / Site2Light (+ меню).
 *
 * ── Что здесь ─────────────────────────────────────────────────────────────
 *
 * Подключается ПОСЛЕ site.css, r26.css и r26-home.css только на страницах Сайта 2.0 (сейчас —
 * главная, tools/site2/home.mjs). Делает три вещи:
 *   1. переопределяет токены тем под палитру макета — спокойнее: меньше теней и свечений;
 *   2. оформляет новую шапку, подвал и новые блоки (классы s2-…);
 *   3. приводит прежние блоки главной (классы h-… и r-…) к тому же ритму: отступы, радиусы, кнопки.
 *
 * Цель владельца: «упрощаем для глаз». Поэтому: тело 16 px и межстрочный 1.55, один главный
 * акцент на экран (кнопка «Открыть в Telegram»), одинаковые карточки, без частиц и парящих
 * картинок, на телефоне — одна колонка и кнопки ≥ 44 px. Тёмная тема — основная (без атрибута),
 * светлая — html[data-theme="light"], как на всём сайте.
 */

/* ══ Токены ══════════════════════════════════════════════════════════════ */
:root {
  --r-bg: #0A0A0F;
  --r-surface: #15151D;
  --r-surface-2: #121219;
  --r-surface-3: #1D1D27;
  --r-muted: #A3A2B8;
  --r-line: rgba(255, 255, 255, 0.08);
  --r-line-2: rgba(255, 255, 255, 0.1);
  --r-block-shadow: none;
  --r-btn-shadow: none;
  --r-glow: transparent;
  --h-glow: transparent;
  --s2-acc: #5B3FEB;
  --s2-acc-2: #6D55F0;
  --s2-acct: #B3A6FF;
  --s2-accbg: #221B48;
  --s2-ok: #5BE0B3;
  --s2-okbg: #12302A;
  --s2-warn: #F2C26B;
  --s2-warnbg: #2C2414;
  --s2-chip: rgba(255, 255, 255, 0.05);
  --s2-hdr: rgba(18, 18, 26, 0.86);
  --s2-pop: 0 24px 48px rgba(0, 0, 0, 0.4);
  --s2-band: #120E2C;
  --s2-foot: #0D0B1A;
  --s2-r: 24px;
}
:root[data-theme="light"] {
  --r-bg: #F3F2F6;
  --r-surface: #FFFFFF;
  --r-surface-2: #FFFFFF;
  --r-surface-3: #F1F0F6;
  --r-muted: #5F5D73;
  --r-line: rgba(21, 19, 31, 0.09);
  --r-line-2: rgba(21, 19, 31, 0.12);
  --r-block-shadow: 0 1px 2px rgba(21, 19, 31, 0.04);
  --s2-acct: #4A2FD6;
  --s2-accbg: #EBE8FD;
  --s2-ok: #0B6B49;
  --s2-okbg: #DDF5EA;
  --s2-warn: #8A5A00;
  --s2-warnbg: #FBF0D9;
  --s2-chip: rgba(21, 19, 31, 0.04);
  --s2-hdr: rgba(255, 255, 255, 0.9);
  --s2-pop: 0 24px 48px rgba(40, 30, 110, 0.12);
}

body.s2 { background: var(--r-bg); color: var(--r-text); font-family: Manrope, 'Segoe UI', system-ui, sans-serif; font-size: 16px; line-height: 1.55; }
.s2 main { overflow-x: clip; }
.s2-wrap { width: 100%; max-width: var(--r-container); margin: 0 auto; padding: 0 var(--r-gutter); box-sizing: border-box; }
.s2-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.s2 :focus-visible { outline: 2px solid var(--s2-acct); outline-offset: 2px; }

/* Спокойнее: без частиц, свечений и парящих картинок прежних блоков. */
.s2 .r-p, .s2 .h-hero-glow, .s2 .h-move-glow, .s2 .h-how-glow, .s2 .r-glow { display: none !important; }
.s2 .r-float, .s2 .r-fly { animation: none !important; }

/* ══ Кнопки и мелочи ═════════════════════════════════════════════════════ */
.s2-btn, .s2-btn2 {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px;
  border-radius: 14px; font: inherit; font-size: 15px; font-weight: 800; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; box-sizing: border-box;
  transition: background .15s ease, border-color .15s ease;
}
.s2-btn { background: var(--s2-acc); color: #FFFFFF; border: 1px solid transparent; }
.s2-btn:hover { background: var(--s2-acc-2); color: #FFFFFF; }
.s2-btn2 { background: var(--s2-chip); color: var(--r-text); border: 1px solid var(--r-line-2); }
.s2-btn2:hover { background: var(--r-hover); color: var(--r-text); }
.s2-lnk { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--s2-acct); text-decoration: none; }
.s2-lnk:hover { text-decoration: underline; }
[dir="rtl"] .s2-btn svg, [dir="rtl"] .s2-btn2 svg:last-child, [dir="rtl"] .s2-lnk svg { transform: scaleX(-1); }
[dir="rtl"] .s2-btn svg:first-child:not(:last-child) { transform: none; }
.s2-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--s2-accbg); color: var(--s2-acct); white-space: nowrap; }
.s2-pill--warn { background: var(--s2-warnbg); color: var(--s2-warn); white-space: normal; }
.s2-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--s2-accbg); color: var(--s2-acct); }
.s2-ic--lg { width: 46px; height: 46px; border-radius: 14px; }
.s2-flag { flex: none; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.s2-note { margin: 20px 0 0; font-size: 13px; color: var(--r-muted); line-height: 1.5; }
.s2-center { text-align: center; margin: 28px 0 0; }

/* ══ Заголовки секций ════════════════════════════════════════════════════ */
.s2-sec { padding-top: 80px; }
.s2-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.s2-head--c { align-items: center; text-align: center; max-width: 720px; margin-inline: auto; }
.s2-head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.s2-head--row > div { display: flex; flex-direction: column; gap: 14px; }
.s2-kick { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.12em; color: var(--r-muted); text-transform: uppercase; }
.s2-kick::before { content: ""; width: 24px; height: 8px; border-radius: 999px; background: var(--s2-acc); }
.s2-h2 { margin: 0; font-size: clamp(30px, 2.6vw + 12px, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.s2-lead { margin: 0; font-size: 17px; color: var(--r-muted); line-height: 1.6; max-width: 640px; }

/* ══ Прежние блоки главной в новом ритме ═════════════════════════════════ */
.s2 .h-sec, .s2 .h-sec1 { padding-top: 80px; }
.s2 .h-sec--16 { gap: 16px; }
.s2 .r-block { border-radius: 28px; }
.s2 .r-k { color: var(--r-muted); letter-spacing: 0.12em; display: inline-flex; align-items: center; gap: 10px; }
.s2 .r-k::before { content: ""; width: 24px; height: 8px; border-radius: 999px; background: var(--s2-acc); flex: none; }
.s2 .r-h2 { font-size: clamp(30px, 2.6vw + 12px, 46px); line-height: 1.1; }
.s2 .r-lead { font-size: 17px; line-height: 1.6; }
.s2 .r-btn { box-shadow: none; }
.s2 .h-more { min-height: 48px; }

/* Первый экран. */
.s2 .h-top { padding-top: 28px; }
.s2 .h-hero { background: none; border: 0; box-shadow: none; padding: 40px 0 24px; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; overflow: visible; }
.s2 .h-hero-txt { max-width: 600px; gap: 24px; }
.s2 .h-badge { background: var(--s2-accbg); border-color: transparent; color: var(--s2-acct); font-weight: 700; }
.s2 .h-h1 { font-size: clamp(40px, 3.6vw + 12px, 64px); letter-spacing: -0.04em; line-height: 1.04; }
.s2 .h-acc { color: var(--s2-acct); }
.s2 .h-lead { font-size: 18px; line-height: 1.6; max-width: 540px; }
.s2 .h-btns .r-btn, .s2 .h-btns .h-btn2 { height: 56px; min-height: 56px; border-radius: 16px; }
.s2 .h-btns .h-btn2 { background: var(--s2-chip); border: 1px solid var(--r-line-2); }
/* Одна главная кнопка — «Открыть в Telegram» (решение владельца 26.11; раньше на компьютере главной была браузерная версия). */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .s2 .h-btns .h-go-web { order: 0; height: 56px; background: var(--s2-chip); border: 1px solid var(--r-line-2); color: var(--r-text); box-shadow: none; font-weight: 700; }
  .s2 .h-btns .h-go-web:hover { background: var(--r-hover); color: var(--r-text); }
  .s2 .h-btns .h-go-tg { order: -1; height: 56px; background: var(--s2-acc); border: 1px solid transparent; color: #FFFFFF; font-weight: 800; }
  .s2 .h-btns .h-go-tg:hover { background: var(--s2-acc-2); color: #FFFFFF; }
}
.s2-trust { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--r-muted); font-size: 14px; font-weight: 700; }
.s2-trust li { display: inline-flex; align-items: center; gap: 7px; }
.s2-hero-art { min-height: 0; position: relative; display: block; }
.s2-hero-img { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 1 / 0.92; border: 1px solid var(--r-line); background: #1A0B33; }
.s2-hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.s2-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 18px;
  background: var(--r-surface); border: 1px solid var(--r-line-2); box-shadow: var(--s2-pop); color: var(--r-text);
}
.s2-chip--a { inset-inline-start: -28px; top: 56px; }
.s2-chip--b { inset-inline-end: -20px; bottom: 44px; }
.s2-chip-ok { width: 32px; height: 32px; border-radius: 999px; background: var(--s2-okbg); color: var(--s2-ok); display: flex; align-items: center; justify-content: center; flex: none; }
.s2-chip-ic { color: var(--s2-acct); display: flex; }
.s2-chip-t { display: flex; flex-direction: column; gap: 1px; }
.s2-chip-t small { font-size: 12px; font-weight: 700; color: var(--r-muted); }
.s2-chip b { font-size: 14.5px; }

/* Полоса цифр (тёмная в обеих темах — как в макете). */
.s2-band { margin-top: 72px; padding: 88px 0; color: #F3F2F8; background: var(--s2-band); }
.s2-band-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.s2-band-head { border-inline-start: 4px solid var(--s2-acc); padding-inline-start: 24px; }
.s2-band-h { margin: 0; font-size: clamp(32px, 2.8vw + 12px, 50px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; }
.s2-band-head p { margin: 18px 0 0; font-size: 17px; color: #C9C6DD; line-height: 1.6; max-width: 400px; }
.s2-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.s2-stat { display: flex; flex-direction: column; gap: 10px; padding-bottom: 18px; border-bottom: 1.5px solid rgba(179, 166, 255, 0.4); color: inherit; text-decoration: none; min-width: 0; }
a.s2-stat:hover b { color: #B3A6FF; }
.s2-stat b { font-size: clamp(32px, 2vw + 14px, 42px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.s2-stat > span { font-size: 16px; font-weight: 600; color: #C9C6DD; line-height: 1.45; display: flex; flex-direction: column; gap: 2px; }
.s2-stat small { font-size: 13.5px; color: #9F9CB8; font-weight: 600; }

/* «Всё для денег». */
.s2-prod { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.s2-pnav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; }
.s2-pnav a { display: flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 14px; font-size: 16px; font-weight: 800; color: var(--r-text); text-decoration: none; border-inline-start: 3px solid transparent; }
.s2-pnav a:hover { background: var(--s2-chip); }
.s2-pnav a.on { background: var(--s2-accbg); color: var(--s2-acct); border-inline-start-color: var(--s2-acc); }
.s2-pcards { display: flex; flex-direction: column; gap: 20px; }
.s2-pcard { scroll-margin-top: 100px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; padding: 36px; border-radius: 28px; background: var(--r-surface); border: 1px solid var(--r-line); box-shadow: var(--r-block-shadow); }
.s2-pk { display: block; width: 30px; height: 3px; border-radius: 999px; background: var(--s2-acc); margin-bottom: 16px; }
.s2-ph3 { margin: 0; font-size: clamp(28px, 1.6vw + 14px, 36px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; }
.s2-psub { margin: 10px 0 12px; font-size: 18px; font-weight: 700; line-height: 1.4; }
.s2-ptxt { margin: 0 0 24px; font-size: 16px; color: var(--r-muted); line-height: 1.6; }
.s2-pc-art { min-width: 0; }
.s2-photo { position: relative; border-radius: 22px; overflow: hidden; background: var(--h-card-bg, #0F0B24); border: 1px solid var(--r-line); }
.s2-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1232 / 562; object-fit: cover; }
.s2-photo-price { position: absolute; inset-inline-start: 14px; bottom: 14px; display: flex; flex-direction: column; padding: 10px 14px; border-radius: 14px; background: rgba(10, 10, 15, 0.78); color: #FFFFFF; font-size: 12.5px; font-weight: 700; }
.s2-photo-price b { font-size: 18px; }
.s2-photo-chips { position: absolute; inset-inline-end: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 60%; }
.s2-photo-chips .h-pchip { background: rgba(10, 10, 15, 0.7); color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.18); font-size: 12px; padding: 5px 10px; border-radius: 999px; font-weight: 700; }
.s2-pick, .s2-abox, .s2-loan { padding: 20px; border-radius: 22px; background: var(--r-surface-3); border: 1px solid var(--r-line); display: flex; flex-direction: column; gap: 10px; }
.s2-pick-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.s2-pick-r { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--r-surface); border: 1px solid var(--r-line); }
.s2-pick-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.s2-pick-t b { font-size: 15px; }
.s2-pick-t small { font-size: 13px; color: var(--r-muted); font-weight: 600; }
.s2-abox-h { font-size: 15px; font-weight: 800; }
.s2-agrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 8px; }
.s2-agrid a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 13px; font-weight: 700; color: var(--r-text); text-decoration: none; border-radius: 14px; padding: 6px 2px; }
.s2-agrid a:hover { color: var(--s2-acct); }
.s2-aic { width: 56px; height: 56px; border-radius: 18px; background: var(--s2-accbg); color: var(--s2-acct); display: flex; align-items: center; justify-content: center; }
.s2-loan-k { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--r-muted); }
.s2-loan-v { font-size: 30px; letter-spacing: -0.02em; }
.s2-loan-v small { font-size: 16px; color: var(--r-muted); }
.s2-kv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--r-line); font-size: 15px; }
.s2-kv span { color: var(--r-muted); font-weight: 600; }
.s2-ltv { position: relative; height: 10px; border-radius: 999px; margin-top: 6px; background: linear-gradient(90deg, var(--s2-ok) 0 70%, var(--s2-warn) 70% 83%, #FF8A8E 83%); }
[dir="rtl"] .s2-ltv { background: linear-gradient(-90deg, var(--s2-ok) 0 70%, var(--s2-warn) 70% 83%, #FF8A8E 83%); }
.s2-ltv i { position: absolute; top: -4px; width: 14px; height: 14px; margin-inline-start: -7px; border-radius: 999px; background: var(--r-text); border: 3px solid var(--r-surface-3); box-sizing: border-box; }
.s2-ltv-l { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 700; color: var(--r-muted); }
.s2-loan .s2-pill--warn { align-self: flex-start; }

/* Регионы. */
.s2-regs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.s2-rg { position: relative; min-height: 360px; border-radius: 26px; overflow: hidden; border: 1px solid var(--r-line); background: #14122A; color: #FFFFFF; }
.s2-rg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s2-rg-ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 6, 24, 0.05) 0%, rgba(8, 6, 24, 0.3) 40%, rgba(8, 6, 24, 0.88) 100%); }
.s2-rg-btn { display: none; }
.s2-rg-c { position: absolute; inset-inline: 24px; bottom: 22px; display: flex; flex-direction: column; gap: 12px; }
.s2-rg-c h3 { margin: 0; font-size: 28px; letter-spacing: -0.02em; line-height: 1.15; }
.s2-rg-c p { margin: 0; font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.92); max-width: 560px; }
.s2-rg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.s2-rg-chips a { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px 0 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); color: #15131F; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.s2-rg-chips a:hover { background: #FFFFFF; text-decoration: underline; }
.s2-credit { font-size: 11.5px; color: rgba(255, 255, 255, 0.72); line-height: 1.4; }
.s2-credit a { color: inherit; }
@media (min-width: 1024px) {
  .s2-regs.js { display: flex; gap: 16px; height: 460px; }
  .s2-regs.js .s2-rg { flex: 0 0 140px; min-height: 0; transition: flex-grow .6s cubic-bezier(.3, .9, .25, 1); }
  .s2-regs.js .s2-rg.on { flex-grow: 1; }
  .s2-regs.js .s2-rg-btn {
    display: flex; position: absolute; inset: 0; z-index: 2; flex-direction: column; align-items: center; gap: 14px; padding: 28px 8px; border: 0; margin: 0;
    background: linear-gradient(180deg, rgba(8, 6, 24, 0.55) 0%, rgba(8, 6, 24, 0) 40%); color: #FFFFFF; font: inherit; cursor: pointer; text-align: center;
  }
  .s2-regs.js .s2-rg-btn b { font-size: 16px; line-height: 1.25; }
  .s2-rx { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, 0.94); color: #15131F; display: flex; align-items: center; justify-content: center; }
  .s2-regs.js .s2-rg.on .s2-rg-btn { display: none; }
  .s2-regs.js .s2-rg-c { opacity: 0; visibility: hidden; width: 600px; max-width: calc(100% - 48px); transition: opacity .3s; }
  .s2-regs.js .s2-rg.on .s2-rg-c { opacity: 1; visibility: visible; transition: opacity .35s .3s; }
  .s2-regs.js .s2-rg:not(.on) .s2-rg-ov { background: rgba(8, 6, 24, 0.35); }
}

/* Способы выплат: карточки стоят отдельно, без общей подложки и линий между ними. */
.s2-pmgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.s2-pmc { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--s2-r); background: var(--r-surface); border: 1px solid var(--r-line); box-shadow: var(--r-block-shadow); min-width: 0; }
.s2-pmc h3 { margin: 4px 0 0; font-size: 19px; line-height: 1.3; }
.s2-pmc p { margin: 0 0 6px; font-size: 14.5px; color: var(--r-muted); line-height: 1.5; }
.s2-pms { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.s2-pm { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 10px 6px 6px; border-radius: 12px; background: var(--s2-chip); border: 1px solid var(--r-line); font-size: 13.5px; font-weight: 700; color: var(--r-text); text-decoration: none; min-width: 0; box-sizing: border-box; }
.s2-pm img { width: 28px; height: 28px; border-radius: 8px; flex: none; background: #FFFFFF; object-fit: contain; }
/* Значки монет — круглые с прозрачностью: без белой подложки (иначе виден обрезанный квадрат). */
.s2-pm--coin img { background: none; border-radius: 50%; object-fit: cover; }
.s2-pm span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.2; overflow-wrap: anywhere; }
a.s2-pm:hover { border-color: var(--s2-acct); color: var(--s2-acct); }
.s2-pmc--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 20px; flex-wrap: wrap; }
.s2-pmc-t { flex: 1 1 260px; }
.s2-pmc--wide .s2-pms { flex: 2 1 480px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s2-pocs { margin-top: 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.s2-pocs-h { font-size: 14px; font-weight: 800; color: var(--r-muted); }
.s2-pocs-l { display: flex; flex-wrap: wrap; gap: 8px; }
.s2-pocs-l a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 12px 0 8px; border-radius: 999px; background: var(--s2-chip); border: 1px solid var(--r-line); font-size: 14px; font-weight: 700; color: var(--r-text); text-decoration: none; }
.s2-pocs-l a:hover { border-color: var(--s2-acct); }

/* Отзывы. */
.s2-revs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.s2-rev { margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--s2-r); background: var(--r-surface); border: 1px solid var(--r-line); box-shadow: var(--r-block-shadow); }
.s2-rev-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.s2-stars { display: inline-flex; gap: 2px; color: #F2B33D; }
.s2-rev blockquote { margin: 0; flex: 1; }
.s2-rev blockquote p { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.6; }
.s2-rev blockquote p::before { content: "“"; color: var(--s2-acct); font-weight: 800; margin-inline-end: 2px; }
.s2-rev blockquote p::after { content: "”"; color: var(--s2-acct); font-weight: 800; margin-inline-start: 2px; }
.s2-rev-orig summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--r-muted); min-height: 32px; display: inline-flex; align-items: center; }
.s2-rev-orig p { margin: 6px 0 0; font-size: 14.5px; color: var(--r-text-2); line-height: 1.55; }
.s2-rev figcaption { display: flex; align-items: center; gap: 12px; }
.s2-ava { width: 46px; height: 46px; flex: none; border-radius: 999px; background: var(--s2-accbg); color: var(--s2-acct); display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; }
.s2-rev figcaption > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.s2-rev figcaption b { font-size: 15.5px; }
.s2-rev figcaption small { font-size: 13px; color: var(--r-muted); }

/* Блог. */
.s2-for { margin: -24px 0 20px; font-size: 14px; font-weight: 700; color: var(--s2-acct); }
.s2-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.s2-post { display: flex; flex-direction: column; gap: 14px; padding: 12px; border-radius: 26px; background: var(--r-surface); border: 1px solid var(--r-line); box-shadow: var(--r-block-shadow); color: inherit; text-decoration: none; }
.s2-post:hover { border-color: var(--r-line-2); }
.s2-post:hover b { color: var(--s2-acct); }
.s2-post-img { display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--r-surface-3); }
.s2-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s2-post-b { display: flex; flex-direction: column; gap: 8px; padding: 4px 10px 12px; flex: 1; }
.s2-post-k { font-size: 12.5px; font-weight: 800; color: var(--r-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.s2-post b { font-size: 19px; line-height: 1.35; letter-spacing: -0.01em; }
.s2-post-d { font-size: 15px; color: var(--r-muted); line-height: 1.55; }
.s2-post .s2-lnk { margin-top: auto; padding-top: 4px; }
.s2-guides { margin-top: 28px; padding: 22px 24px; border-radius: var(--s2-r); background: var(--r-surface); border: 1px solid var(--r-line); }
.s2-guides-h { font-size: 15px; font-weight: 800; }
.s2-guides ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 28px; }
.s2-guides a { display: flex; align-items: center; min-height: 40px; font-size: 15px; font-weight: 600; color: var(--r-text-2); text-decoration: none; border-bottom: 1px solid var(--r-line); }
.s2-guides a:hover { color: var(--s2-acct); }

/* CTA «Всё живёт в Telegram» (прежний текст, оформление макета). */
.s2 .r-cta-sec { padding-top: 80px; }
.s2 .r-cta { background: linear-gradient(135deg, #5B3FEB, #3420A8); border: 1px solid rgba(255, 255, 255, 0.2); color: #FFFFFF; box-shadow: none; }
.s2 .r-cta .r-h2 { color: #FFFFFF; }
.s2 .r-cta .r-lead { color: rgba(255, 255, 255, 0.86); }
.s2 .r-cta .r-btn { background: #FFFFFF; color: #3B22B8; }
.s2 .r-cta .r-btn:hover { background: #F1EEFF; }
.s2 .r-cta .r-cta-web { color: #FFFFFF; }
.s2 .r-cta .r-steps, .s2 .r-cta .r-steps li { color: rgba(255, 255, 255, 0.9); }
.s2 .r-cta .r-steps li::before { background: rgba(255, 255, 255, 0.18); color: #FFFFFF; }
.s2 .r-cta-art { opacity: 0.9; }

/* ══ Планшет и телефон ═══════════════════════════════════════════════════ */
@media (max-width: 1099px) {
  .s2-band-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .s2-prod { grid-template-columns: minmax(0, 1fr); }
  .s2-pnav { position: static; flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: none; }
  .s2-pnav a { flex: none; border: 1px solid var(--r-line-2); border-radius: 999px; min-height: 44px; font-size: 15px; }
  .s2-pnav a.on { border-color: transparent; }
}
@media (max-width: 899px) {
  .s2 .h-hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .s2-hero-art { max-width: 520px; margin: 0 auto; width: 100%; }
  .s2-pcard { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px; }
  .s2-pcard > .s2-pc-txt { order: -1; }
  .s2-posts { grid-template-columns: minmax(0, 1fr); }
  .s2-post { flex-direction: row; align-items: flex-start; }
  .s2-post-img { width: 38%; flex: none; }
}
@media (max-width: 719px) {
  .s2-sec, .s2 .h-sec, .s2 .h-sec1, .s2 .r-cta-sec { padding-top: 56px; }
  .s2-head { margin-bottom: 28px; }
  .s2 .h-top { padding-top: 12px; }
  .s2 .h-hero { padding: 24px 0 8px; }
  .s2 .h-hero-txt { align-items: flex-start; text-align: start; }
  .s2 .h-btns { width: 100%; flex-direction: column; }
  .s2 .h-btns .r-btn, .s2 .h-btns .h-btn2 { width: 100%; justify-content: center; }
  .s2 .h-btns-note { justify-content: flex-start; }
  .s2-chip--a { inset-inline-start: 8px; top: 16px; }
  .s2-chip--b { inset-inline-end: 8px; bottom: 16px; }
  .s2-band { margin-top: 56px; padding: 56px 0; }
  .s2-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  /* Регионы, способы выплат и отзывы на телефоне — лентой с прокруткой вбок (виден край следующей карточки). */
  .s2-regs, .s2-pmgrid, .s2-revs {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--r-gutter)); padding: 2px var(--r-gutter) 8px; scroll-padding-inline: var(--r-gutter); scrollbar-width: none;
  }
  .s2-regs::-webkit-scrollbar, .s2-pmgrid::-webkit-scrollbar, .s2-revs::-webkit-scrollbar { display: none; }
  .s2-regs > .s2-rg, .s2-pmgrid > .s2-pmc, .s2-revs > .s2-rev { flex: 0 0 86%; scroll-snap-align: start; }
  .s2-pmc--wide { flex-direction: column; align-items: stretch; }
  .s2-rg { min-height: 440px; }
  .s2-rg-c { inset-inline: 18px; bottom: 18px; }
  .s2-rg-c h3 { font-size: 24px; }
  .s2-pmc--wide .s2-pms { flex-basis: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s2-agrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s2-post { flex-direction: column; }
  .s2-post-img { width: 100%; }
  .s2-guides ul { grid-template-columns: minmax(0, 1fr); }
  .s2-rev { padding: 22px; }
  .s2-rev blockquote p { font-size: 17px; }
}
@media (max-width: 379px) {
  .s2-stats { grid-template-columns: minmax(0, 1fr); }
  .s2-chip { padding: 10px 12px; }
  .s2-chip b { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .s2-regs.js .s2-rg, .s2-regs.js .s2-rg-c, .s2-nl svg, .s2-burger path { transition: none !important; }
}





/* ══ Правки 26.11 (вечер): все продукты вкладками ═══════════════════════════ */
.s2-prod.js .s2-pcard:not(.on) { display: none; }
.s2-prod.js .s2-pcards { min-height: 470px; }
.s2-pcard { min-height: 420px; }
.s2-pc-art { display: flex; flex-direction: column; justify-content: center; align-self: stretch; }
.s2-pc-art > * { width: 100%; }
.s2-pchips { display: flex; flex-wrap: wrap; gap: 6px; margin: -8px 0 22px; }
.s2-pchips span { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: 999px; background: var(--s2-chip); border: 1px solid var(--r-line); font-size: 13px; font-weight: 700; color: var(--r-text-2); }
.s2-pchips--art { margin: 8px 0 0; }
.s2-facts { padding: 22px; border-radius: 22px; background: var(--r-surface-3); border: 1px solid var(--r-line); display: flex; flex-direction: column; }
.s2-facts-h { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--r-muted); margin-bottom: 6px; }
.s2-facts .s2-kv:first-of-type { border-top: 0; }
.s2-facts .s2-kv { padding: 13px 0; align-items: center; }
.s2-facts .s2-kv b { font-size: 16px; text-align: end; }
.s2-coins { display: inline-flex; gap: 4px; }
.s2-coins img { width: 26px; height: 26px; border-radius: 50%; }
.s2-artlink { margin: 14px 0 0; }
.s2-steps3 { list-style: none; margin: 0; padding: 22px; border-radius: 22px; background: var(--r-surface-3); border: 1px solid var(--r-line); display: flex; flex-direction: column; gap: 14px; }
.s2-steps3 li { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 700; }
.s2-steps3 li span { width: 36px; height: 36px; flex: none; border-radius: 12px; background: var(--s2-accbg); color: var(--s2-acct); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.s2-big { padding: 28px; border-radius: 22px; background: var(--r-surface-3); border: 1px solid var(--r-line); display: flex; flex-direction: column; gap: 10px; }
.s2-big b { font-size: 56px; line-height: 1; letter-spacing: -0.03em; color: var(--s2-acct); }
.s2-big span { font-size: 16px; font-weight: 600; color: var(--r-text-2); line-height: 1.5; }
.s2-risk { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: var(--s2-chip); border: 1px solid var(--r-line); }
.s2-risk svg { flex: none; margin-top: 1px; color: var(--s2-acct); }
@media (max-width: 1099px) {
  .s2-prod.js .s2-pcards { min-height: 0; }
  .s2-pcard { min-height: 0; }
}
@media (max-width: 719px) {
  .s2-pnav a { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .s2-facts, .s2-steps3, .s2-big { padding: 18px; }
  .s2-big b { font-size: 44px; }
}
/* Телефон «три касания»: настоящие экраны приложения (img/s2/app), под строкой состояния макета телефона. */
.s2 .s2-appscr { position: absolute; left: 0; top: 0; width: 390px; height: 838px; transform: scale(0.9256); transform-origin: 0 0; padding-top: 48px; box-sizing: border-box; background: #0A0A0F; }
:root[data-theme="light"] .s2 .s2-appscr { background: #F4F3F7; }
.s2 .s2-appscr img { display: block; width: 390px; height: 790px; object-fit: cover; object-position: top; }


.s2-ph3 + .s2-ptxt { margin-top: 12px; }
.s2-facts .s2-kv b { white-space: nowrap; }
.s2-facts .s2-kv > span { min-width: 0; }

/* ══ Градиенты макета (правка владельца 26.11, вечер: «градиента нет на главной как в дизайне») ══
   Значения — из Site2.dc.html / Site2Light.dc.html: размытые пятна фона (.bg i: --b1, --b2), стеклянные карточки (.gc:
   --g1/--g2/--gb/--ghi/--gsh), полоса цифр (.band + кольца .ring), CTA (radial + linear 135deg). Только CSS, без картинок. */
:root { --s2-b1: rgba(91, 63, 235, 0.22); --s2-b2: rgba(60, 110, 220, 0.12); --s2-g1: rgba(30, 30, 42, 0.62); --s2-g2: rgba(21, 21, 29, 0.5); --s2-gb: rgba(255, 255, 255, 0.08); --s2-ghi: rgba(255, 255, 255, 0.1); --s2-gsh: 0 18px 40px rgba(0, 0, 0, 0.38); }
:root[data-theme="light"] { --s2-b1: rgba(124, 92, 255, 0.18); --s2-b2: rgba(80, 150, 255, 0.12); --s2-g1: rgba(255, 255, 255, 0.78); --s2-g2: rgba(255, 255, 255, 0.58); --s2-gb: rgba(255, 255, 255, 0.92); --s2-ghi: rgba(255, 255, 255, 1); --s2-gsh: 0 14px 34px rgba(40, 30, 110, 0.09); }
/* Пятна фона: в макете круги 1008 и 864 px с blur(70px) в точках (216; 384) и (1224; 3120) артборда 1440.
   Размер и положение по горизонтали — в долях ширины экрана (vw), как масштабируется артборд на холсте: на 1440 px —
   ровно макет, на широких мониторах пятно растёт вместе с экраном (правка 26.11: при фиксированных px на 1920+
   появлялся чёрный край слева и видимая граница круга). Вертикаль — в px: блоки страницы по высоте не масштабируются. */
body.s2 {
  background:
    radial-gradient(max(574px, 39.86vw) max(574px, 39.86vw) at 15vw max(384px, 26.67vw), var(--s2-b1) 0, var(--s2-b1) 76%, transparent 100%),
    radial-gradient(max(502px, 34.86vw) max(502px, 34.86vw) at 85vw 3120px, var(--s2-b2) 0, var(--s2-b2) 74%, transparent 100%),
    var(--r-bg);
  background-repeat: no-repeat;
}
@media (max-width: 1439px) and (min-width: 720px) {
  body.s2 {
    background:
      radial-gradient(39.86vw 39.86vw at 15vw 384px, var(--s2-b1) 0, var(--s2-b1) 76%, transparent 100%),
      radial-gradient(34.86vw 34.86vw at 85vw 3120px, var(--s2-b2) 0, var(--s2-b2) 74%, transparent 100%),
      var(--r-bg);
    background-repeat: no-repeat;
  }
}
/* Стеклянные карточки макета (.gc). */
.s2-pcard, .s2-pmc, .s2-rev, .s2-post, .s2-guides, :where(.s2 main) :where(.r-block, .r-card):not([class*="--"]):not(.h-hero) {
  background: linear-gradient(150deg, var(--s2-g1), var(--s2-g2));
  border: 1px solid var(--s2-gb);
  box-shadow: inset 0 1px 0 var(--s2-ghi), var(--s2-gsh);
}
/* Полоса «Глобальные платежи — как местные» (.band) — одинаковая в обеих темах, как в макете. */
.s2-band { position: relative; overflow: hidden; background: radial-gradient(60% 90% at 85% 0%, rgba(91, 63, 235, 0.35), transparent 60%), linear-gradient(180deg, #120E2E, #0A0A12); }
.s2-band::before, .s2-band::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 999px; border: 34px solid rgba(91, 63, 235, 0.85); box-sizing: border-box; pointer-events: none; }
.s2-band::before { right: -140px; top: -140px; }
.s2-band::after { left: -140px; bottom: -140px; }
.s2-band-in { position: relative; z-index: 1; }
/* CTA «Всё живёт в Telegram» — как «Откройте Nexus Pay в Telegram» макета. */
.s2 .r-cta { background: radial-gradient(70% 120% at 100% 0%, rgba(160, 130, 255, 0.9), transparent 55%), linear-gradient(135deg, #5B3FEB, #2E1A9E); border: 1px solid rgba(255, 255, 255, 0.25); }
.s2 .r-cta::after { content: ""; position: absolute; right: -160px; top: -200px; width: 560px; height: 560px; border-radius: 999px; pointer-events: none;
  background: radial-gradient(circle, rgba(91, 63, 235, 0.55), transparent 70%); box-shadow: inset 0 0 0 1px rgba(179, 166, 255, 0.16); }
.s2 .r-cta > * { position: relative; z-index: 1; }
@media (max-width: 719px) {
  body.s2 { background: radial-gradient(360px 360px at 10% 260px, var(--s2-b1), transparent 100%), radial-gradient(320px 320px at 90% 2400px, var(--s2-b2), transparent 100%), var(--r-bg); background-repeat: no-repeat; }
  .s2-band::before, .s2-band::after { width: 180px; height: 180px; border-width: 24px; }
}
.s2-risk { color: var(--r-text-2); }

