/* ===== Лендинг для незарегистрированных ===== */
.lp {
  --ink: #0e1a33;
  --ink-2: #3a4660;
  --mute: #6f7b92;
  --paper: #f5f7fb;
  --white: #fff;
  --line: #e1e6f0;
  --blue: #2f6bff;
  --blue-d: #1f55db;
  --blue-l: #eaf0ff;
  --mint: #12a150;
  --navy: #0e1a33;
  --navy-2: #17284d;

  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font: 500 16.5px/1.6 "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp h1, .lp h2, .lp h3, .lp p, .lp ul, .lp ol, .lp dl, .lp dd { margin: 0; padding: 0; }
.lp ul, .lp ol { list-style: none; }
.lp a { color: inherit; text-decoration: none; }
.lp img { max-width: 100%; display: block; }
.lp h1, .lp h2, .lp h3 { color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.lp h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.06; letter-spacing: -.03em; }
.lp h2 { font-size: clamp(26px, 3.3vw, 38px); line-height: 1.12; }
.lp h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }

.lp-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-muted { color: var(--mute); font-weight: 500; }
.lp-pos { color: var(--mint); font-weight: 700; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.lp a:focus-visible, .lp button:focus-visible, .lp summary:focus-visible, .lp input:focus-visible {
  outline: 3px solid rgba(47, 107, 255, .45);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ---------- Кнопки ---------- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; cursor: pointer;
  transition: background .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.lp .lp-btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(47, 107, 255, .28); }
.lp .lp-btn--primary:hover { background: var(--blue-d); color: #fff; }
.lp .lp-btn--ghost { background: var(--white); border-color: var(--line); color: var(--ink); }
.lp .lp-btn--ghost:hover { border-color: #c4cee2; color: var(--ink); }
.lp .lp-btn--light { background: #fff; color: var(--ink); }
.lp .lp-btn--light:hover { background: var(--blue-l); color: var(--ink); }
.lp-btn--lg { padding: 15px 28px; font-size: 16px; border-radius: 14px; }
.lp-btn--block { width: 100%; }

/* ---------- Шапка ---------- */
.lp-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 247, 251, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.lp-head__in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.lp-brand__logo { display: inline-flex; width: 34px; height: 34px; }
.lp-brand__logo .brand__svg { width: 34px; height: 34px; display: block; filter: drop-shadow(0 4px 10px rgba(47, 107, 255, .3)); }
.lp-brand--sm { font-size: 17px; }
.lp-nav { display: flex; gap: 26px; margin-left: 12px; flex: 1; }
.lp-nav a { font-size: 14.5px; font-weight: 600; color: var(--ink-2); padding: 6px 0; }
.lp-nav a:hover { color: var(--blue); }
.lp-head__act { display: flex; gap: 10px; margin-left: auto; }
.lp-head__act .lp-btn { padding: 10px 18px; }

/* ---------- Главный экран ---------- */
.lp-hero { padding: 72px 0 56px; }
.lp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.lp-lead { margin-top: 20px; font-size: 18.5px; line-height: 1.6; max-width: 34em; }
.lp-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; margin-bottom: 32px }
.lp-ticks { display: grid; gap: 10px; margin-top: 32px; font-size: 15px; font-weight: 600; color: var(--ink); }
.lp-ticks li { display: flex; align-items: center; gap: 10px; }
.lp-ticks .ico { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #e3f5eb; color: var(--mint); stroke-width: 3; flex: none; }

/* Тёмная плашка со счётчиком: главный акцент страницы */
.lp-plate {
  position: relative; overflow: hidden;
  background: var(--navy); color: #c8d3ee;
  border-radius: 26px; padding: 30px;
  box-shadow: 0 30px 60px -20px rgba(14, 26, 51, .45);
}
.lp-plate__mark { position: absolute; right: -34px; top: -30px; width: 200px; height: 200px; color: #fff; opacity: .07; pointer-events: none; }
.lp-plate__top { font-size: 14px; font-weight: 600; color: #8fa0c6; margin-bottom: 14px; }

.lp-seg { display: flex; flex-wrap: wrap; gap: 6px; position: relative; }
.lp-seg button {
  padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2);
  background: transparent; color: #c8d3ee; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.lp-seg button:hover { border-color: rgba(255, 255, 255, .5); }
.lp-seg button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }

.lp-counter { display: flex; align-items: baseline; gap: 8px; margin: 30px 0 6px; position: relative; }
.lp-counter__sign { font-size: 60px; font-weight: 800; color: #4ade80; }
.lp-num { font-size: clamp(38px, 5.6vw, 60px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }

.lp-plate__time { font-size: 14px; color: #8fa0c6; font-variant-numeric: tabular-nums; position: relative; }

.lp-rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); position: relative; }
.lp-rates dt { font-size: 13px; color: #8fa0c6; }
.lp-rates dd { margin-top: 2px; font-size: 16px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.lp-plate__note { margin-top: 20px; font-size: 12.5px; line-height: 1.5; color: #7f93bf; position: relative; }

/* ---------- Преимущества ---------- */
.lp-facts-sec { padding: 16px 0 24px; }
.lp-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.lp-fact {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 8px;
  align-items: center;
  padding: 28px 24px 28px 0;
}
.lp-fact + .lp-fact { padding-left: 24px; border-left: 1px solid var(--line); }

.lp-fact .lp-ico {
  grid-column: 1;
  grid-row: 1;
}
.lp-fact h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}
.lp-fact p {
  grid-column: 1 / -1;   /* тянется на обе колонки, в том числе под иконку */
  grid-row: 2;
  margin-top: 0;
}

.lp-ico {
  display: inline-flex;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--blue-l);
  color: var(--blue);
  flex: none;
}

.lp-ico .ico { width: 22px; height: 22px; }
.lp-fact p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; }

/* ---------- Секции ---------- */
.lp-sec { padding: 88px 0; }
.lp-sec[id] { scroll-margin-top: 68px; }
.lp-sec--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-sub { margin-top: 12px; max-width: 38em; }
.lp-note { margin-top: 18px; font-size: 14px; line-height: 1.55; color: var(--mute); max-width: 52em; }

/* Шаги: это реальная последовательность, поэтому нумерация уместна */
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 44px; counter-reset: none; position: relative; }
.lp-steps li { position: relative; padding-top: 4px; }
.lp-steps li::before {
  content: ""; position: absolute; top: 19px; left: 46px; right: -18px; height: 2px; background: var(--line);
}
.lp-steps li:last-child::before { display: none; }
.lp-step__n {
  position: relative; display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 18px;
}
.lp-steps h3 { margin-bottom: 8px; }
.lp-steps p { font-size: 15px; line-height: 1.55; }

/* ---------- Таблицы ---------- */
.lp-tablewrap { margin-top: 40px; overflow-x: auto; }
.lp-t { width: 100%; border-collapse: collapse; font-size: 15px; }
.lp-t th { text-align: left; font-size: 13.5px; font-weight: 700; color: var(--mute); padding: 0 16px 12px 0; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.lp-t td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.lp-t td strong { font-weight: 800; }
.lp .lp-t td.lp-t__name {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: normal;
  min-width: 230px;
}
.lp-t__name strong { display: block; font-size: 17px; color: var(--ink); }
.lp-t__name span { display: block; font-size: 13.5px; color: var(--mute); font-weight: 500; }
.lp-t__img { width: 52px; height: 52px; object-fit: cover; border-radius: 12px; background: var(--paper); flex: none; }
.lp-t__act { text-align: right; padding-right: 0; }
.lp-t__act .lp-btn { padding: 9px 18px; }
.lp-t--nets { max-width: 100%; }
.lp-sec--white .lp-tablewrap { margin-top: 0; }

/* ---------- Калькулятор ---------- */
.lp-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.lp-label { display: block; margin: 28px 0 10px; font-size: 14px; font-weight: 700; color: var(--ink); }
.lp-seg--light button { border-color: var(--line); color: var(--ink-2); background: var(--white); }
.lp-seg--light button:hover { border-color: #b9c5de; }
.lp-seg--light button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.lp-range { width: 100%; accent-color: var(--blue); height: 28px; margin: 0; }

.lp-result { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: 0 20px 40px -24px rgba(20, 30, 55, .25); }
.lp-result__main span { display: block; font-size: 14px; font-weight: 700; color: var(--mute); }
.lp-result__main strong { display: block; margin-top: 4px; font-size: clamp(32px, 4.4vw, 46px); font-weight: 800; letter-spacing: -.03em; color: var(--mint); line-height: 1.1; font-variant-numeric: tabular-nums; }
.lp-result__list { margin: 24px 0 0; border-top: 1px solid var(--line); }
.lp-result__list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lp-result__list dt { color: var(--mute); font-size: 15px; }
.lp-result__list dd { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.lp-result__note { margin: 16px 0 20px; font-size: 13px; line-height: 1.5; color: var(--mute); }

/* ---------- Пополнение и вывод ---------- */
.lp-pay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.lp-limits { margin-top: 28px; border-top: 1px solid var(--line); }
.lp-limits div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lp-limits dt { color: var(--mute); }
.lp-limits dd { font-weight: 800; color: var(--ink); }

/* ---------- FAQ ---------- */
.lp-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.lp-faq__list { border-top: 1px solid var(--line); }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 700; color: var(--ink); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--mute); border-bottom: 2px solid var(--mute);
  transform: rotate(45deg); transition: transform .2s;
}
.lp-faq details[open] summary::after { transform: rotate(-135deg); }
.lp-faq details p { padding: 0 32px 22px 0; font-size: 15.5px; line-height: 1.65; }

/* ---------- Финал ---------- */
.lp-final-sec { padding: 0 0 88px; }
.lp-final {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: var(--navy); border-radius: 28px; padding: 52px 56px; color: #c8d3ee;
}
.lp-final h2 { color: #fff; }
.lp-final p { margin-top: 10px; max-width: 30em; }
.lp-final__act { display: grid; gap: 12px; justify-items: center; }
.lp-final__login { font-size: 14.5px; font-weight: 600; color: #c8d3ee; text-decoration: underline; text-underline-offset: 3px; }
.lp-final__login:hover { color: #fff; }

/* ---------- Подвал ---------- */
.lp-foot { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 13.5px; color: var(--mute); }
.lp-foot__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 40px; align-items: start; }
.lp-foot p { line-height: 1.55; max-width: 44em; }
.lp-foot__links { display: flex; gap: 20px; font-weight: 600; color: var(--ink-2); }
.lp-foot__links a:hover { color: var(--blue); }
.lp-foot__copy { grid-column: 1 / -1; }

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
  .lp-nav { display: none; }
  .lp-hero { padding: 44px 0 36px; }
  .lp-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-facts { grid-template-columns: repeat(2, 1fr); }
  .lp-fact { padding: 24px 20px 24px 0; }
  .lp-fact + .lp-fact { padding-left: 0; border-left: 0; }
  .lp-fact:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .lp-fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lp-steps { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .lp-steps li::before { display: none; }
  .lp-sec { padding: 64px 0; }
  .lp-calc, .lp-pay, .lp-faq { grid-template-columns: 1fr; gap: 32px; }
  .lp-final { padding: 36px 28px; }
  .lp-final-sec { padding-bottom: 64px; }
  .lp-foot__in { grid-template-columns: 1fr; }
}

/* Таблица тарифов превращается в список блоков */
@media (max-width: 860px) {
  .lp-tablewrap { overflow: visible; }
  .lp-t:not(.lp-t--nets) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lp-t:not(.lp-t--nets), .lp-t:not(.lp-t--nets) tbody { display: block; }
  .lp-t:not(.lp-t--nets) tr {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px;
    padding: 20px 0; border-bottom: 1px solid var(--line);
  }
  .lp-t:not(.lp-t--nets) td { display: block; padding: 0; border: 0; white-space: normal; }
  .lp-t:not(.lp-t--nets) td[data-label]::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 600; color: var(--mute); margin-bottom: 2px; }
  .lp-t:not(.lp-t--nets) .lp-t__name { grid-column: 1 / -1; min-width: 0; }
  .lp-t:not(.lp-t--nets) .lp-t__act { grid-column: 1 / -1; text-align: left; }
  .lp-t:not(.lp-t--nets) .lp-t__act .lp-btn { width: 100%; }
}

@media (max-width: 560px) {
  .lp-wrap { padding: 0 18px; }
  .lp-head__in { min-height: 60px; gap: 12px; }
  .lp-brand { font-size: 17px; }
  .lp-head__act .lp-btn--ghost { display: none; }
  .lp-head__act .lp-btn { padding: 9px 14px; font-size: 14px; }
  .lp-lead { font-size: 17px; }
  .lp-hero__cta .lp-btn { flex: 1; }
  .lp-plate { padding: 22px; border-radius: 22px; }
  .lp-rates { grid-template-columns: 1fr; gap: 8px; }
  .lp-rates div { display: flex; justify-content: space-between; align-items: baseline; }
  .lp-facts { grid-template-columns: 1fr; }
  .lp-fact, .lp-fact:nth-child(even) { padding: 22px 0; border-left: 0; }
  .lp-fact + .lp-fact { border-top: 1px solid var(--line); }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-result { padding: 22px; }
  .lp-final { border-radius: 22px; }
  .lp-final__act { justify-items: stretch; width: 100%; text-align: center; }
  .lp-faq summary { font-size: 16px; }


 .lp-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    row-gap: 6px;
    align-items: center;
    padding-top: 0;
  }
  .lp-step__n {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
  }
  .lp-steps h3 {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
  }
  .lp-steps p {
    grid-column: 2;
    grid-row: 2;
  }

  .lp-t--nets {
    table-layout: fixed;
    width: 100%;
  }
  .lp-t--nets th,
  .lp-t--nets td {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    vertical-align: top;
    padding-right: 12px;
  }
  .lp-t--nets th:last-child,
  .lp-t--nets td:last-child {
    padding-right: 0;
    text-align: right;
    white-space: nowrap;      /* комиссия — короткая, пусть не рвётся */
  }
  .lp-t--nets td:first-child {
    padding-right: 16px;
  }




}
