/* ============================================================================
   ATHERYX — главная в стиле «Codex» (2026-10-17)
   Первый экран с живописным свечением и мокапом окна клиента, ряды
   «панель + текст», сетка возможностей, тарифы колонками, FAQ, финал.
   ========================================================================== */

.cx-home main { overflow-x: clip; }

/* ── Первый экран ─────────────────────────────────────────────────────── */
.cx-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 110px));
}
.cx-hero > .cx-paint { z-index: -3; bottom: 34%; }
/* Свечение плавно уходит в чёрный под мокапом. */
.cx-hero-fade {
  position: absolute;
  z-index: -3;
  left: 0;
  right: 0;
  bottom: 34%;
  height: 36%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.cx-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cx-appicon {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #ecebf3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 18px 40px -16px rgba(10, 8, 40, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.cx-appicon img { width: 46px; height: 46px; filter: brightness(0); }
.cx-hero-title {
  margin-top: clamp(24px, 4vw, 56px);
  max-width: 920px;
  color: #fff;
  font-size: clamp(38px, 6.2vw, 76px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.cx-hero-sub {
  margin-top: 18px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 500;
  line-height: 1.45;
  text-wrap: balance;
}
.cx-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
/* На свечении кнопки всегда «как в тёмной теме»: белая и полупрозрачная. */
.cx-hero .ax-btn--primary,
.cx-final .ax-btn--primary { background: #fff; color: #000; }
.cx-hero .ax-btn--primary:hover,
.cx-final .ax-btn--primary:hover { background: #e9e9ee; }
.cx-hero .ax-btn--secondary { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.cx-hero .ax-btn--secondary:hover { background: rgba(255, 255, 255, 0.22); }

.cx-trusted { margin-top: clamp(56px, 8vw, 90px); display: grid; gap: 22px; justify-items: center; }
.cx-trusted-lbl { color: rgba(255, 255, 255, 0.72); font-size: 14px; }
.cx-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px clamp(28px, 5vw, 64px); }
.cx-logos span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font: 600 clamp(18px, 2vw, 24px)/1 var(--font-display);
  letter-spacing: -0.03em;
  opacity: 0.92;
}
.cx-logos i { font-size: 1.05em; opacity: 0.85; }

/* ── Мокап окна клиента ──────────────────────────────────────────────── */
.cx-shot-wrap { margin-top: clamp(56px, 7vw, 84px); position: relative; }
.cx-window {
  --w-bg: #0c0c0e;
  --w-bg2: #131316;
  --w-line: rgba(255, 255, 255, 0.07);
  --w-fg: #f2f2f4;
  --w-fg2: rgba(242, 242, 244, 0.6);
  --w-fg3: rgba(242, 242, 244, 0.38);
  position: relative;
  border-radius: 18px;
  background: var(--w-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  color: var(--w-fg);
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
}
.cx-win-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--w-line);
  background: var(--w-bg2);
}
.cx-dots { display: inline-flex; gap: 7px; }
.cx-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.cx-dots i:nth-child(2) { background: #febc2e; }
.cx-dots i:nth-child(3) { background: #28c840; }
.cx-win-title { flex: 1; text-align: center; color: var(--w-fg2); font-size: 12.5px; }
.cx-win-pill { display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); color: var(--w-fg2); font-size: 12px; }
.cx-win-pill .ax-dot { background: #4ade80; animation: none; }

.cx-win-body { display: grid; grid-template-columns: 200px minmax(0, 1fr) 300px; min-height: 420px; }
.cx-side { display: flex; flex-direction: column; gap: 2px; padding: 16px 10px; border-right: 1px solid var(--w-line); }
.cx-side-brand { display: flex; align-items: center; gap: 9px; padding: 0 10px 14px; font-weight: 600; font-size: 14px; }
.cx-side-brand img { width: 18px; height: 18px; }
.cx-side-lbl { padding: 12px 10px 6px; color: var(--w-fg3); font-size: 11.5px; }
.cx-side a { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border-radius: 9px; color: var(--w-fg2); }
.cx-side a i { font-size: 15px; }
.cx-side a.on { background: rgba(255, 255, 255, 0.08); color: var(--w-fg); }

.cx-list { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.cx-list-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 10px; font-weight: 600; font-size: 15px; }
.cx-search { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); color: var(--w-fg3); font-weight: 400; font-size: 12.5px; }
.cx-mod { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--w-line); }
.cx-mod b { display: block; font-weight: 500; font-size: 13.5px; }
.cx-mod small { color: var(--w-fg3); font-size: 12px; }
.cx-mod.on { background: rgba(169, 162, 255, 0.07); border-color: rgba(169, 162, 255, 0.18); }
.cx-tgl { position: relative; width: 32px; height: 19px; flex: none; border-radius: 99px; background: rgba(255, 255, 255, 0.12); }
.cx-tgl::after { content: ""; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: transform 0.3s var(--ease); }
.cx-mod.on .cx-tgl, .cx-tgl.on { background: #a9a2ff; }
.cx-mod.on .cx-tgl::after, .cx-tgl.on::after { transform: translateX(13px); }

.cx-panel { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px; border-left: 1px solid var(--w-line); background: var(--w-bg2); }
.cx-panel-head { display: flex; align-items: center; justify-content: space-between; font-size: 15px; }
.cx-panel-head b { font-weight: 600; }
.cx-set { display: grid; grid-template-columns: 1fr auto; gap: 8px; color: var(--w-fg2); }
.cx-set em { font-style: normal; color: var(--w-fg); font-family: var(--font-mono); font-size: 12px; }
.cx-set.row { align-items: center; }
.cx-bar { grid-column: 1 / -1; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.cx-bar i { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: inherit; background: linear-gradient(90deg, #8b84ea, #c2bdff); }
.cx-seg { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); }
.cx-seg i { font-style: normal; text-align: center; padding: 6px 0; border-radius: 7px; font-size: 12px; color: var(--w-fg3); }
.cx-seg i.on { background: rgba(255, 255, 255, 0.1); color: var(--w-fg); }
.cx-target { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--w-line); }
.cx-target b { display: block; font-weight: 500; }
.cx-target small { color: var(--w-fg3); font-size: 12px; }
.cx-ava {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  background:
    linear-gradient(#6b4a2f 0 0) 50% 18% / 60% 22% no-repeat,
    linear-gradient(#f0c8a0 0 0) 50% 62% / 60% 50% no-repeat,
    #3a2a1e;
  image-rendering: pixelated;
}
.cx-ava.big { width: 64px; height: 64px; border-radius: 14px; }
.cx-hp { margin-top: 7px; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; width: 160px; max-width: 100%; }
.cx-hp i { display: block; height: 100%; width: calc(var(--hp, 0.9) * 100%); background: #4ade80; border-radius: inherit; }

/* ── Секции ──────────────────────────────────────────────────────────── */
.cx-section { position: relative; padding-block: clamp(72px, 8vw, 110px); }
.cx-section--tight { padding-top: clamp(24px, 3vw, 40px); }
.cx-head { display: grid; gap: 16px; justify-items: center; max-width: 760px; margin: 0 auto clamp(44px, 6vw, 72px); text-align: center; }
.cx-head .ax-lead { max-width: 620px; }
.cx-head--grid { margin-top: clamp(100px, 12vw, 150px); }

/* Цифры — крупно, без рамок, через тонкие разделители. */
.cx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.cx-stats > div { display: grid; gap: 8px; padding: 28px 24px 0; border-left: 1px solid var(--line); }
.cx-stats > div:first-child { border-left: 0; padding-left: 0; }
.cx-stats b { font: 500 clamp(36px, 4.4vw, 56px)/1 var(--font-display); letter-spacing: -0.05em; }
.cx-stats span { color: var(--fg-3); font-size: 14.5px; line-height: 1.45; max-width: 220px; }

/* ── Ряды «панель + текст» ───────────────────────────────────────────── */
.cx-rows { display: grid; gap: clamp(80px, 11vw, 150px); }
.cx-row { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.cx-row--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.cx-row--flip .cx-media { order: 2; }
.cx-media {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 26px;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: clamp(22px, 4vw, 48px);
}
.cx-paint--panel { z-index: -1; }
.cx-paint--panel::before { filter: blur(30px) saturate(120%); }
.cx-paint--b { --paint-1: #1d3a6e; --paint-2: #5b8fe0; --paint-3: #a7c4ff; --paint-4: #f1e3ff; --paint-5: #2a1d55; }
.cx-paint--c { --paint-1: #4b2a6e; --paint-2: #a07ae6; --paint-3: #e2c8ff; --paint-4: #ffe7f0; --paint-5: #1b1e4a; }
:root[data-theme="light"] .cx-paint--b { --paint-1: #c4d8ff; --paint-2: #9fbfff; --paint-3: #e2ecff; --paint-4: #fff; --paint-5: #d9cfff; }
:root[data-theme="light"] .cx-paint--c { --paint-1: #e2cfff; --paint-2: #c9b0ff; --paint-3: #f3e8ff; --paint-4: #fff; --paint-5: #cdd3ff; }

.cx-mock {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  background: rgba(12, 12, 14, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75);
  color: #f2f2f4;
  font-size: 13px;
  overflow: hidden;
  transition: transform 0.8s var(--ease);
}
.cx-row:hover .cx-mock { transform: translateY(-6px); }
.cx-mock-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); color: rgba(242, 242, 244, 0.6); font-size: 12.5px; }
.cx-dots i { width: 10px; height: 10px; }

.cx-th { display: flex; gap: 16px; padding: 20px; }
.cx-th-info { flex: 1; min-width: 0; }
.cx-th-info b { display: block; font-weight: 600; font-size: 16px; }
.cx-th-info small { color: rgba(242, 242, 244, 0.5); }
.cx-th-info .cx-hp { width: 100%; height: 6px; margin-top: 12px; }
.cx-th-row { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; color: rgba(242, 242, 244, 0.7); font-size: 12.5px; }
.cx-th-row i { margin-right: 5px; color: #a9a2ff; }
.cx-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 20px; }
.cx-chips span { height: 28px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); color: rgba(242, 242, 244, 0.55); font-size: 12.5px; }
.cx-chips span.on { background: rgba(169, 162, 255, 0.16); color: #d6d2ff; }

.cx-esp { position: relative; height: 250px; background: linear-gradient(180deg, #1a2333 0%, #233046 55%, #2b3a24 55%, #24321f 100%); }
.cx-esp-box { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); border: 1.5px solid #c2bdff; border-radius: 4px; box-shadow: 0 0 18px rgba(169, 162, 255, 0.45), inset 0 0 14px rgba(169, 162, 255, 0.18); }
.cx-esp-box span { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, 0.6); font-size: 11.5px; }
.cx-esp-box.far { opacity: 0.8; }
.cx-esp-box.item { border-color: #ffd36b; box-shadow: 0 0 16px rgba(255, 211, 107, 0.45); }
.cx-fps { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 8px; background: rgba(0, 0, 0, 0.55); font-family: var(--font-mono); font-size: 12px; color: rgba(242, 242, 244, 0.7); }
.cx-fps b { color: #4ade80; font-weight: 500; }

.cx-cfg { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.cx-cfg:last-child { border-bottom: 0; }
.cx-cfg > div { flex: 1; min-width: 0; }
.cx-cfg b { display: block; font-weight: 500; font-size: 14px; }
.cx-cfg small { color: rgba(242, 242, 244, 0.5); font-size: 12px; }
.cx-cfg-ic { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: rgba(255, 255, 255, 0.06); color: #c2bdff; font-size: 17px; }
.cx-cfg-btn { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 13px; border-radius: 99px; background: #fff; color: #000; font-size: 12.5px; font-weight: 500; }
.cx-cfg-btn.done { background: rgba(74, 222, 128, 0.14); color: #6ee7a0; }

.cx-copy { display: grid; gap: 16px; justify-items: start; max-width: 460px; }
.cx-copy h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; letter-spacing: -0.04em; text-wrap: balance; }
.cx-copy p { color: var(--fg-2); font-size: 16px; line-height: 1.62; }
.cx-copy .cx-link { margin-top: 6px; }

/* ── Сетка возможностей ──────────────────────────────────────────────── */
.cx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cx-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 210px;
  padding: 26px;
  border-radius: 22px;
  background: var(--surface-2);
  transition: background-color 0.3s ease, transform 0.5s var(--ease);
}
.cx-card:hover { background: var(--surface-3); transform: translateY(-3px); }
.cx-card > i { font-size: 22px; color: var(--fg); margin-bottom: 22px; }
.cx-card h3 { font-size: 18px; letter-spacing: -0.025em; }
.cx-card p { color: var(--fg-3); font-size: 14.5px; line-height: 1.55; }

/* ── Тарифы: три колонки без карточек ────────────────────────────────── */
.cx-tabs { display: flex; justify-content: center; gap: 4px; width: max-content; margin: 0 auto 48px; padding: 4px; border-radius: 99px; background: var(--surface-2); }
.cx-tabs button { height: 36px; padding: 0 18px; border: 0; border-radius: 99px; background: transparent; color: var(--fg-3); font-size: 14px; font-weight: 500; transition: background-color 0.25s ease, color 0.25s ease; }
.cx-tabs button:hover { color: var(--fg); }
.cx-tabs [aria-selected="true"] { background: var(--fg); color: var(--bg); }
.cx-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.cx-plan-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; }
.cx-plan { display: flex; flex-direction: column; gap: 12px; }
.cx-plan h3 { display: flex; align-items: center; gap: 10px; font-size: 26px; letter-spacing: -0.035em; }
.cx-badge { height: 22px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-text); font: 500 12px/1 var(--font-body); letter-spacing: 0; }
.cx-plan-desc { min-height: 3.2em; color: var(--fg-2); font-size: 15px; line-height: 1.55; }
.cx-price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 8px; }
.cx-price b { font: 500 40px/1 var(--font-display); letter-spacing: -0.05em; }
.cx-price small { color: var(--fg-3); font-size: 13.5px; }
.cx-plan .ax-btn { margin-bottom: 10px; }
.cx-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--fg-2); font-size: 14.5px; }
.cx-checks li { display: flex; gap: 10px; align-items: flex-start; }
.cx-checks li::before { content: "\eb7b"; font-family: remixicon; color: var(--fg); font-size: 16px; line-height: 1.35; }
.cx-plans-note { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--fg-3); font-size: 13.5px; text-align: center; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.cx-faq { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.cx-faq-info { position: sticky; top: 110px; display: grid; gap: 16px; justify-items: start; }
.cx-faq-list { border-top: 1px solid var(--line); }
.cx-faq-list .faq-item { border-bottom: 1px solid var(--line); background: none; border-radius: 0; }
.cx-faq-list .faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 24px 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.cx-faq-list .faq-icon { font-size: 20px; color: var(--fg-3); transition: transform 0.45s var(--ease), color 0.3s ease; }
.cx-faq-list .faq-item.open .faq-icon { transform: rotate(45deg); color: var(--fg); }
.faq-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq-item.open .faq-content { grid-template-rows: 1fr; }
.faq-content > div { overflow: hidden; }
.cx-faq-list .faq-content p { padding: 0 48px 24px 0; color: var(--fg-2); font-size: 15.5px; line-height: 1.65; }

/* ── Финал ───────────────────────────────────────────────────────────── */
.cx-final { position: relative; padding-block: clamp(120px, 15vw, 200px); text-align: center; overflow: hidden; }
.cx-final > .cx-paint { z-index: -3; }
.cx-final-fade { position: absolute; z-index: -3; inset: 0; background: linear-gradient(to bottom, var(--bg) 0%, transparent 38%); pointer-events: none; }
.cx-final-inner { display: grid; gap: 18px; justify-items: center; }
.cx-final h2 { color: #fff; font-size: clamp(34px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.05em; }
.cx-final p { max-width: 520px; color: rgba(255, 255, 255, 0.82); font-size: 17px; }
.cx-final .ax-btn { margin-top: 10px; }
:root[data-theme="light"] .cx-final h2,
:root[data-theme="light"] .cx-hero-title { color: #0b0b0d; }
:root[data-theme="light"] .cx-final p,
:root[data-theme="light"] .cx-hero-sub,
:root[data-theme="light"] .cx-trusted-lbl { color: rgba(11, 11, 13, 0.72); }
:root[data-theme="light"] .cx-logos span { color: #0b0b0d; }
:root[data-theme="light"] .cx-hero .ax-btn--primary,
:root[data-theme="light"] .cx-final .ax-btn--primary { background: #0b0b0d; color: #fff; }
:root[data-theme="light"] .cx-hero .ax-btn--secondary { background: rgba(255, 255, 255, 0.55); border-color: rgba(0, 0, 0, 0.1); color: #0b0b0d; }

/* ── Футер ───────────────────────────────────────────────────────────── */
.cx-footer { padding: 56px 0 28px; }
.cx-footer-grid { display: grid; grid-template-columns: 1fr repeat(3, minmax(160px, auto)); gap: 40px; }
.cx-footer-grid h3 { margin-bottom: 16px; }
.cx-footer-grid > .ax-brand { align-self: start; }
.cx-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 56px; color: var(--fg-3); font-size: 13px; }
.cx-footer-bottom a { color: var(--fg-2); font-size: 18px; }
.cx-footer-bottom a:hover { color: var(--fg); }

/* ── Окно оплаты ─────────────────────────────────────────────────────── */
.checkout-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.checkout-summary { display: flex; flex-direction: column; gap: 14px; padding: 30px 26px; border-right: 1px solid var(--line); background: var(--surface-2); }
.checkout-summary h3 { font-size: 22px; }
.checkout-price { display: flex; align-items: baseline; gap: 6px; }
.checkout-price strong { font: 500 46px/1 var(--font-display); letter-spacing: -0.05em; }
.checkout-price span { color: var(--fg-2); font: 500 22px/1 var(--font-display); }
.checkout-perk { display: flex; align-items: center; gap: 9px; color: var(--fg-2); font-size: 13.5px; }
.checkout-perk i { color: var(--fg); font-size: 16px; }
.checkout-summary .checkout-perk:last-child { margin-top: auto; color: var(--fg-3); }
.checkout-main { position: relative; display: grid; gap: 20px; padding: 30px 28px; }
.checkout-main h2 { font-size: 24px; }
.ax-modal-close { position: absolute; top: 18px; right: 18px; }
.pay-methods { display: grid; gap: 10px; }
.pay-method { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease; }
.pay-method:hover { border-color: var(--line-2); }
.pay-method input { position: absolute; opacity: 0; pointer-events: none; }
.pay-method:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.pay-method.active { border-color: var(--fg); }
.pay-ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--surface-3); color: var(--fg); font-size: 20px; }
.pay-info { flex: 1; min-width: 0; }
.pay-info strong { display: block; font-size: 15px; font-weight: 500; }
.pay-info small { display: block; margin-top: 3px; color: var(--fg-3); font-size: 13px; line-height: 1.4; }
.pay-radio { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid var(--line-2); transition: border 0.2s ease; }
.pay-method.active .pay-radio { border: 6px solid var(--fg); }

/* ── Адаптив ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .cx-win-body { grid-template-columns: 180px minmax(0, 1fr) 260px; }
}
@media (max-width: 980px) {
  .cx-win-body { grid-template-columns: minmax(0, 1fr) 260px; }
  .cx-side { display: none; }
  .cx-row, .cx-row--flip { grid-template-columns: 1fr; }
  .cx-row--flip .cx-media { order: 0; }
  .cx-copy { max-width: 620px; }
  .cx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-plan-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 56px; }
  .cx-plan-grid--two { grid-template-columns: 1fr; }
  .cx-faq { grid-template-columns: 1fr; }
  .cx-faq-info { position: static; }
  .cx-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cx-footer-grid > .ax-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .cx-hide-sm { display: none; }
  .cx-win-body { grid-template-columns: 1fr; min-height: 0; }
  .cx-panel { display: none; }
  .cx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-stats > div { padding: 24px 0 0 20px; }
  .cx-stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .cx-stats > div:nth-child(n+3) { margin-top: 24px; border-top: 1px solid var(--line); }
  .cx-grid { grid-template-columns: 1fr; }
  .cx-card { min-height: 0; }
  .cx-media { aspect-ratio: auto; padding: 18px; }
  .cx-esp { height: 200px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { border-right: 0; border-bottom: 1px solid var(--line); }
  .cx-footer-grid { grid-template-columns: 1fr 1fr; }
  .cx-footer-bottom { flex-direction: column-reverse; align-items: flex-start; }
}
@media (max-width: 480px) {
  .cx-hero-actions { width: 100%; }
  .cx-hero-actions .ax-btn { flex: 1 1 100%; }
  .cx-logos { gap: 14px 26px; }
  .cx-logos span { font-size: 17px; }
}
