/* ════════════════════════════════════════════════
   Лендинг navrex.net — заглушка
   ════════════════════════════════════════════════
   Собран из core/static/css/main.css проекта navrex:
   токены палитры, навбар, секции .lp-* и футер. Всё,
   что обслуживало живой продукт — модалки, тосты,
   аватар и меню пользователя, блог, страницы входа —
   не перенесено: на заглушке нет ни одной ссылки.
   ════════════════════════════════════════════════ */

:root {
  /* ── Палитра Navrex ── */
  --navy:           #0D2750;
  --navy-mid:       #173A6E;
  --cyan:           #20C4E8;
  --cyan-dim:       rgba(32, 196, 232, 0.14);
  --cyan-border:    rgba(32, 196, 232, 0.35);

  --text-dark:      #212529;
  --text-muted:     #6c757d;
  --bg-light:       #F4F7FB;

  /* ── Навбар ── */
  --nb-height:      68px;
  --nb-bg:          #ffffff;
  --nb-border:      #EDF1F7;
  --nb-link:        #3D5278;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background-color: #fff;
  /* компенсирует фиксированную шапку */
  padding-top: var(--nb-height);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

/* ════════════════════════════════════════════════
   Навбар
   ════════════════════════════════════════════════
   Пункты меню — якоря на секции этой же страницы,
   поэтому живые, с hover. Кнопки входа — наоборот,
   <button disabled>: регистрации ещё нет.
   ════════════════════════════════════════════════ */

.navbar-custom {
  background: var(--nb-bg);
  border-bottom: 1px solid var(--nb-border);
  height: var(--nb-height);
  display: flex;
  align-items: center;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: box-shadow 0.2s ease;
}

/* класс вешает скрипт со страницы, когда её прокрутили */
.navbar-custom.scrolled {
  box-shadow: 0 2px 16px rgba(13, 39, 80, 0.08);
}

.navbar-brand-custom {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.navbar-brand-custom:hover { opacity: 0.82; }

.navbar-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.navbar-nav-custom {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link-custom {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  color: var(--nb-link);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-link-custom:hover {
  color: var(--navy);
  background: var(--cyan-dim);
}

.navbar-auth-custom {
  flex-shrink: 0;
}

.btn-nav-login,
.btn-nav-register {
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.btn-nav-login {
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.btn-nav-login:hover {
  color: var(--navy);
  background: var(--cyan-dim);
}

.btn-nav-login {
  padding: 0.45rem 1rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--nb-link);
}

.btn-nav-register {
  padding: 0.45rem 1.15rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a5fa8 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(13, 39, 80, 0.25);
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.btn-nav-register:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  color: #fff;
}

/* ── Модалка «закрытая бета» ──────────────────────── */
/* Нативный <dialog>: Esc, подложка и ловушка фокуса
   работают без js, поэтому bootstrap-скрипт не нужен. */
.lp-modal {
  width: min(460px, calc(100vw - 2rem));
  padding: 0;
  border: 1px solid var(--nb-border);
  border-radius: 18px;
  background: #fff;
  color: var(--text-dark);
  box-shadow: 0 20px 60px rgba(13, 39, 80, 0.18);
}

.lp-modal::backdrop {
  background: rgba(13, 39, 80, 0.45);
}

.lp-modal[open] {
  animation: lp-modal-in 0.18s ease-out;
}

@keyframes lp-modal-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.lp-modal-inner {
  position: relative;
  padding: 2rem 1.9rem 1.9rem;
  text-align: center;
}

.lp-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #9aafc9;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lp-modal-close:hover {
  background: var(--bg-light);
  color: var(--navy);
}

.lp-modal-close svg { width: 18px; height: 18px; }

.lp-modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.lp-modal-text {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0 0 1rem;
}

.lp-modal-text:last-of-type { margin-bottom: 1.6rem; }

/* ── Бургер ───────────────────────────────────── */
.navbar-toggler-custom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: transparent;
  border: 1px solid var(--nb-border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.navbar-toggler-custom:hover {
  border-color: var(--cyan-border);
  background: var(--cyan-dim);
}

.navbar-toggler-custom span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

/* крестик в открытом состоянии */
.navbar-toggler-custom.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler-custom.open span:nth-child(2) { opacity: 0; }
.navbar-toggler-custom.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Выпадающее меню ──────────────────────────── */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--nb-border);
  background: var(--nb-bg);
  padding: 0.75rem 0 1rem;
  box-shadow: 0 8px 24px rgba(13, 39, 80, 0.08);
}

.mobile-menu.show { display: block; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 0.75rem;
}

.mobile-nav-links .nav-link-custom {
  padding: 0.65rem 0.5rem;
  border-radius: 0;
  border-bottom: 1px solid var(--nb-border);
  font-size: 0.9rem;
}

.mobile-nav-links .nav-link-custom:last-child { border-bottom: none; }

.mobile-auth-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.mobile-auth-row .btn-nav-login,
.mobile-auth-row .btn-nav-register {
  flex: 1;
  justify-content: center;
}


/* ════════════════════════════════════════════════
   Landing Page  —  Navrex redesign
   ════════════════════════════════════════════════ */

/* ── Shared section ─────────────────────────────── */
.lp-section {
  padding: 88px 0;
}

.lp-section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.lp-section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.lp-section-title--left { text-align: left; }

.lp-section-sub {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* ── CTA buttons ─────────────────────────────────── */
.lp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a5fa8 100%);
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(13,39,80,.28);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s ease, transform .15s ease;
}

.lp-btn-primary svg { width: 16px; height: 16px; flex-shrink: 0; }

.lp-btn-primary:hover {
  opacity: .88;
  transform: translateY(-1px);
  color: #fff;
}

.lp-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  border: 1.5px solid var(--nb-border);
  border-radius: 999px;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}

.lp-btn-ghost svg { width: 16px; height: 16px; flex-shrink: 0; }

.lp-btn-ghost:hover {
  border-color: var(--cyan-border);
  background: var(--cyan-dim);
  color: var(--navy);
}






/* ── HERO ────────────────────────────────────────── */
.lp-hero {
  background: #fff;
  padding: 80px 0 90px;
  border-bottom: 1px solid var(--nb-border);
  position: relative;
  overflow: hidden;
}

.lp-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32,196,232,.07) 0%, transparent 65%);
  pointer-events: none;
}

.lp-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,58,107,.05) 0%, transparent 65%);
  pointer-events: none;
}

.lp-beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-border);
  font-size: 0.78rem;
  font-weight: 700;
  color: #0a7ea4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.lp-beta-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  animation: beta-pulse 2s ease-in-out infinite;
}

@keyframes beta-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(32,196,232,.45); }
  50%      { box-shadow: 0 0 0 5px rgba(32,196,232,0); }
}

.lp-hero-title {
  /* Кегль текучий, потому что перенос в заголовке жёсткий: на 992-1200px
     колонка сужается до ~456px, и фиксированные 3rem выталкивали бы
     вторую строку за её край. Верх ограничен 2.45rem — на этом кегле
     самая длинная строка занимает ~480px из 546px колонки на xl. */
  font-size: clamp(1.7rem, 3.6vw, 2.45rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.lp-hero-accent {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--navy-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-hero-sub {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 2.25rem;
}

.lp-hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2.5rem;
}

/* trust pills */
.lp-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.lp-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--bg-light);
  border: 1px solid var(--nb-border);
  font-size: 0.78rem;
  font-weight: 500;
  color: #475569;
}

.lp-trust-pill svg { width: 13px; height: 13px; color: var(--cyan); flex-shrink: 0; }

/* hero visual — облако площадок
   ────────────────────────────────────────────────
   Логотипы приходят разнородными: у части свой фон (иконки
   приложений), у части прозрачный или белый, пропорции тоже
   разные. Поэтому все они приводятся к одной форме — белая
   круглая фишка. Марка вписывается внутрь с отступом, а иконка
   со своим фоном заполняет фишку целиком (--fill): круг режет
   её углы, и разнобой фонов перестаёт быть виден. */
.lp-hero-visual {
  position: relative;
  width: 100%;
  max-width: 470px;
}

.lp-orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  /* размеры фишек заданы в px (логотипы растровые и мельче
     определённого кегля нечитаемы), поэтому на узком экране их
     масштабирует один множитель, а не восемь правил */
  --k: 1;
  /* кольцо вокруг ядра — тоже px, и сжимается вместе с фишками */
  --halo: 8px;
}

.lp-orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.lp-orbit-ring--outer {
  width: 84%; height: 84%;
  border: 1px dashed rgba(13, 39, 80, .10);
}

.lp-orbit-ring--inner {
  width: 52%; height: 52%;
  border: 1px solid rgba(13, 39, 80, .07);
  background: radial-gradient(circle, var(--cyan-dim) 0%, transparent 70%);
}

/* Ядро — знак navrex без леттеринга, поэтому круг, а не карточка.
   Круг здесь того же рода, что и фишки, и чтобы он читался центром,
   а не самой крупной из них, он крупнее, стоит на цветном кольце и
   несёт тень заметнее. */
.lp-orbit-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 29%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 50%;
  /* контур чёткий намеренно: у знака внутри диагональная стрелка и
     масса смещена влево-вниз, и на размытой границе круг оптически
     читается овалом. Кольцо ореола плотнее самой границы, поэтому
     форму задаёт оно */
  border: 1px solid rgba(32, 196, 232, .30);
  box-shadow: 0 0 0 var(--halo) rgba(32, 196, 232, .13),
              0 14px 40px rgba(13, 39, 80, .14);
}

/* доля от самого ядра, а не от облака: процентный padding считался бы
   от ширины контейнера и на узком экране съел бы знак целиком */
.lp-orbit-core img { width: 66%; height: 66%; object-fit: contain; }

.lp-orbit-chip {
  position: absolute;
  width: calc(var(--s) * var(--k));
  height: calc(var(--s) * var(--k));
  padding: calc(var(--s) * var(--k) * 0.16);
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 50%;
  border: 1px solid var(--nb-border);
  box-shadow: 0 6px 20px rgba(13, 39, 80, .10);
  overflow: hidden;
  /* центрируется трансформом, поэтому качается отдельным
     свойством translate — оно применяется до transform и не
     затирает центровку */
  transform: translate(-50%, -50%);
  animation: orbit-float 7s ease-in-out infinite;
}

.lp-orbit-chip img { width: 100%; height: 100%; object-fit: contain; }

/* круглая иконка: заполняет фишку целиком, лёгкий зум съедает
   поле, оставленное внутри самого файла */
.lp-orbit-chip--fill { padding: 0; }
.lp-orbit-chip--fill img { object-fit: cover; transform: scale(1.04); }

/* иконка-скруглённый квадрат: заполнить фишку нельзя — круг срезал
   бы края надписи, поэтому она вписывается целиком с минимальным
   отступом. Углы у таких файлов белые и со фишкой сливаются */
.lp-orbit-chip--tight { padding: calc(var(--s) * var(--k) * 0.11); }

/* Слоты: положение центра фишки и её размер. Двенадцать логотипов в
   одно кольцо уже не помещаются без тесноты, поэтому колец два: восемь
   штук по внешнему (шаг 45°, радиус 36-41%, кегль 58-78px) и четыре по
   внутреннему (шаг 90° со сдвигом на полшага, радиус 27%, кегль 46-50px).
   Внутренние мельче не по важности, а по расстоянию — так кольца читаются
   как глубина, а не как второй ряд. Крупнее те марки, что узнаются с
   одного взгляда. Ближе 27% к центру слотов нет: там ядро. */
.lp-orbit-chip--1  { --s: 78px; top: 10.0%; left: 50.0%; animation-delay:    0s; }
.lp-orbit-chip--2  { --s: 64px; top: 22.4%; left: 77.6%; animation-delay: -0.6s; }
.lp-orbit-chip--3  { --s: 58px; top: 50.0%; left: 91.0%; animation-delay: -1.2s; }
.lp-orbit-chip--4  { --s: 62px; top: 76.9%; left: 76.9%; animation-delay: -1.8s; }
.lp-orbit-chip--5  { --s: 72px; top: 88.0%; left: 50.0%; animation-delay: -2.4s; }
.lp-orbit-chip--6  { --s: 60px; top: 77.6%; left: 22.4%; animation-delay: -3.0s; }
.lp-orbit-chip--7  { --s: 64px; top: 50.0%; left:  9.0%; animation-delay: -3.6s; }
.lp-orbit-chip--8  { --s: 58px; top: 23.1%; left: 23.1%; animation-delay: -4.2s; }
/* внутреннее кольцо */
.lp-orbit-chip--9  { --s: 48px; top: 25.0%; left: 60.3%; animation-delay: -4.8s; }
.lp-orbit-chip--10 { --s: 46px; top: 60.3%; left: 74.9%; animation-delay: -5.4s; }
.lp-orbit-chip--11 { --s: 46px; top: 74.9%; left: 39.7%; animation-delay: -6.0s; }
.lp-orbit-chip--12 { --s: 48px; top: 39.7%; left: 25.1%; animation-delay: -6.6s; }

@keyframes orbit-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -9px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-orbit-chip { animation: none; }
}

.lp-orbit-note {
  /* сноска прижата к правому краю облака: по центру она читалась
     подписью к картинке, а её дело — оговорка мелким шрифтом */
  margin: 1.1rem 0 0;
  text-align: right;
  font-size: 0.58rem;
  color: #9aafc9;
}

/* ── FEATURES ────────────────────────────────────── */
.lp-features { background: var(--bg-light); }

.lp-feat-card {
  background: #fff;
  border: 1px solid var(--nb-border);
  border-radius: 18px;
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.lp-feat-card:hover {
  box-shadow: 0 8px 28px rgba(13,39,80,.1);
  transform: translateY(-3px);
  border-color: var(--cyan-border);
}



.lp-feat-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}

.lp-feat-icon svg { width: 22px; height: 22px; }

.lp-feat-icon--navy {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--cyan);
}

.lp-feat-icon--cyan {
  background: linear-gradient(135deg, rgba(32,196,232,.18), rgba(32,196,232,.08));
  color: var(--cyan);
  border: 1px solid var(--cyan-border);
}

.lp-feat-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}


.lp-feat-desc {
  font-size: 0.87rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ── HOW IT WORKS ────────────────────────────────── */
.lp-hiw { background: #fff; }

.lp-step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
}

.lp-step-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--cyan-dim);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--navy-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.35;
}

.lp-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.lp-step-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* the steps close the page, so they carry its last call to action */
.lp-hiw-cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* ── SECURITY ────────────────────────────────────── */
.lp-security { background: var(--bg-light); }

.lp-security-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.lp-security-desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
  margin-top: 1rem;
}

.lp-security-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lp-security-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--nb-border);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.lp-security-item:hover {
  border-color: var(--cyan-border);
  box-shadow: 0 4px 16px rgba(13,39,80,.07);
}


.lp-security-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cyan);
}

.lp-security-icon svg { width: 18px; height: 18px; }

.lp-security-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.lp-security-sub {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
}

/* ── JOURNAL (latest public posts) ───────────────── */
.lp-journal { background: #fff; }

.lp-post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--nb-border);
  border-radius: 18px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.lp-post-card:hover {
  box-shadow: 0 8px 28px rgba(13,39,80,.1);
  transform: translateY(-3px);
  border-color: var(--cyan-border);
}


.lp-post-date {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--cyan);
  margin-bottom: 0.7rem;
}

.lp-post-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 0 0 0.55rem;
}

.lp-post-desc {
  font-size: 0.87rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 1.1rem;
  flex: 1;
}

/* «Читать» без ссылки: строка осталась ради вида карточки,
   стрелка так же уезжает вправо при наведении */
.lp-post-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: auto;
}

.lp-post-more svg { width: 15px; height: 15px; transition: transform .2s ease; }
.lp-post-card:hover .lp-post-more { color: var(--cyan); }
.lp-post-card:hover .lp-post-more svg { transform: translateX(3px); }



/* Footer Section */
.footer-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  padding: 60px 0 30px;
  margin-top: 0;
}

.footer-bottom {
  border-top: 1px solid #dee2e6;
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}

/* single-bar footer: no columns above, so the bar drops the margin that used to
   separate it from them and keeps its rule as the divider from the page */
.footer-section--slim { padding: 36px 0 28px; }
.footer-section--slim .footer-bottom {
  margin-top: 0;
  padding-top: 1.75rem;
}

.footer-bottom-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}





/* ── Адаптив ─────────────────────────────────────── */
/* Своё, а не перенос: в navrex мобильные правила
   лендинга размазаны по блокам для страниц, которых
   здесь нет. */
@media (max-width: 991.98px) {
  .lp-hero-sub { max-width: none; }
  .lp-hero-visual { margin-top: 2.5rem; }
}

@media (max-width: 767.98px) {
  .lp-hero { padding: 56px 0 64px; }
  .lp-section { padding: 60px 0; }
  .lp-section-head { margin-bottom: 2.5rem; }
  .lp-section-title { font-size: 1.6rem; }
  .lp-security-grid { margin-top: 2rem; }
  .footer-section { padding: 40px 0 20px; }
}

@media (max-width: 575.98px) {
  /* контейнер облака сжимается вместе с экраном, а px-размеры
     фишек — нет: без множителя крайние вылезали бы за его край */
  .lp-orbit { --k: 0.78; --halo: 6px; }
  .lp-orbit-core { width: 28%; }
  .lp-hero-visual { padding: 0; }
}

/* ════════════════════════════════════════════════
   Страницы ошибок — 404 / 500
   Перенесено из navrex (main.css, .lp-error*). Отличие одно:
   там блок стоит под навбаром, здесь навбара нет, поэтому
   высота считается от всего экрана, а не за вычетом шапки.
   ════════════════════════════════════════════════ */
.lp-error {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 64px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.lp-error::before {
  content: '';
  position: absolute;
  top: -140px; right: -140px;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 196, 232, .08) 0%, transparent 65%);
  pointer-events: none;
}

.lp-error::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 58, 107, .05) 0%, transparent 65%);
  pointer-events: none;
}

.lp-error-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 540px;
  padding: 0 1.25rem;
}

.lp-error-code {
  font-size: 7.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--navy-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-error-code--danger {
  background: linear-gradient(135deg, #f97362 0%, #c0392b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-error-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.lp-error-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.lp-error-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 575.98px) {
  .lp-error-code { font-size: 5.5rem; }
  .lp-error-title { font-size: 1.35rem; }
}
