/* =========================================================
   Лендинг — самостоятельная страница без Vue.
   Может грузиться отдельно от основного приложения.
   ========================================================= */

:root {
  --bg: #f4f7f5;
  --surface: #ffffff;
  --surface-2: #f8faf9;
  --ink: #10231a;
  --ink-2: #3d5348;
  --ink-3: #7b9188;
  --line: #e3ebe6;
  --brand: #1f8a4c;
  --brand-2: #2abb2f;
  --brand-dark: #166b3a;
  --brand-soft: #e8f5ed;
  --accent: #f5a623;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(16, 35, 26, .06), 0 2px 8px rgba(16, 35, 26, .04);
  --shadow: 0 8px 30px rgba(16, 35, 26, .08);
  --shadow-lg: 0 24px 60px rgba(16, 35, 26, .16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.lp-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.lp-container--narrow { max-width: 820px; }

/* ---------------- Кнопки ---------------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 13px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .14s, box-shadow .18s, background .18s, color .18s;
  white-space: nowrap;
}
.lp-btn:active { transform: translateY(1px); }

/* Главная зелёная кнопка — крупная и заметная */
.lp-btn--hero {
  background: linear-gradient(160deg, var(--brand-2), var(--brand));
  color: #fff;
  padding: 19px 40px;
  font-size: 18px;
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(31, 138, 76, .34);
  letter-spacing: -.2px;
}
.lp-btn--hero:hover {
  box-shadow: 0 16px 40px rgba(31, 138, 76, .44);
  transform: translateY(-2px);
}
.lp-btn--lg { padding: 22px 52px; font-size: 19px; }
.lp-btn--block { width: 100%; }

.lp-btn--secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.lp-btn--secondary:hover { border-color: var(--brand); color: var(--brand-dark); }

.lp-btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-2);
  padding: 9px 18px;
}
.lp-btn--ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.lp-btn--sm { font-size: 14px; padding: 9px 18px; }

/* ---------------- Шапка ---------------- */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.lp-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.lp-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.lp-logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--brand-2), var(--brand));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -.5px;
  box-shadow: 0 6px 16px rgba(31, 138, 76, .3);
}
.lp-logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.lp-logo__name { font-weight: 800; font-size: 15.5px; letter-spacing: -.3px; }
.lp-logo__tag { font-size: 11.5px; color: var(--ink-3); font-weight: 600; }

.lp-nav { display: flex; gap: 6px; flex: 1; }
.lp-nav a {
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.lp-nav a:hover { background: var(--surface-2); color: var(--brand-dark); }

/* ---------------- Герой ---------------- */
.lp-hero {
  padding: 64px 0 56px;
  background:
    radial-gradient(1000px 520px at 88% -12%, rgba(42, 187, 47, .16), transparent 62%),
    radial-gradient(800px 460px at -8% 4%, rgba(31, 138, 76, .1), transparent 58%);
}
.lp-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 48px;
  align-items: center;
}

.lp-eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lp-hero__title {
  margin: 0 0 20px;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1.6px;
}
.lp-accent {
  color: var(--brand);
  white-space: nowrap;
}

.lp-hero__lead {
  margin: 0 0 30px;
  font-size: 17.5px;
  color: var(--ink-2);
  max-width: 560px;
  font-weight: 500;
}

.lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 26px;
}

.lp-hero__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 600;
}
.lp-check {
  color: var(--brand-2);
  font-weight: 800;
  margin-right: 4px;
}

/* ---------------- Превью таблицы ---------------- */
.lp-preview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(1.2deg);
  transition: transform .3s;
}
.lp-preview:hover { transform: rotate(0deg) translateY(-4px); }

.lp-preview__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.lp-dot { width: 11px; height: 11px; border-radius: 50%; }
.lp-dot--red { background: #ff6058; }
.lp-dot--yellow { background: #ffbd2e; }
.lp-dot--green { background: #29c840; }
.lp-preview__title {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-3);
}

.lp-preview__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.lp-preview__table th {
  text-align: left;
  padding: 11px 14px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-weight: 800;
}
.lp-preview__table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 600;
}
.lp-preview__table tr:last-child td { border-bottom: none; }
.lp-mono { font-family: 'SF Mono', Consolas, monospace; font-size: 11.5px; letter-spacing: -.2px; }

.lp-preview__footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-3);
}
.lp-preview__badge {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 7px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 11.5px;
}

/* ---------------- Цифры ---------------- */
.lp-stats {
  background: var(--ink);
  padding: 38px 0;
}
.lp-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.lp-stat { text-align: center; }
.lp-stat__value {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1.2px;
  color: #6fe08a;
  line-height: 1.1;
}
.lp-stat__label {
  font-size: 13px;
  color: rgba(255, 255, 255, .62);
  font-weight: 600;
  margin-top: 4px;
}

/* ---------------- Секции ---------------- */
.lp-section { padding: 76px 0; }
.lp-section--muted { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.lp-section__head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.lp-h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
}
.lp-section__lead { margin: 0; color: var(--ink-3); font-size: 16px; font-weight: 500; }

/* ---------------- Карточки ---------------- */
.lp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.lp-card {
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.lp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #cfe6da;
}
.lp-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.lp-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; letter-spacing: -.3px; }
.lp-card p { margin: 0; color: var(--ink-3); font-size: 14.5px; font-weight: 500; }

/* ---------------- Шаги ---------------- */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.lp-step {
  display: flex;
  gap: 18px;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.lp-step__num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand-2), var(--brand));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 6px 14px rgba(31, 138, 76, .26);
}
.lp-step h3 { margin: 0 0 7px; font-size: 16.5px; font-weight: 800; letter-spacing: -.2px; }
.lp-step p { margin: 0; color: var(--ink-3); font-size: 14.5px; font-weight: 500; }

/* ---------------- Тарифы ---------------- */
.lp-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.lp-price {
  position: relative;
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.lp-price--featured {
  border-color: var(--brand);
  box-shadow: 0 18px 44px rgba(31, 138, 76, .16);
  transform: translateY(-8px);
}
.lp-price__tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-2);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 8px;
  white-space: nowrap;
}
.lp-price h3 { margin: 0 0 6px; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.lp-price__amount { font-size: 40px; font-weight: 800; letter-spacing: -1.8px; line-height: 1.1; }
.lp-price__note { margin: 4px 0 20px; font-size: 13.5px; color: var(--ink-3); font-weight: 600; }
.lp-price ul {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.lp-price li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink-2);
  font-weight: 500;
}
.lp-price li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-2);
  font-weight: 800;
}

/* ---------------- FAQ ---------------- */
.lp-faq { display: flex; flex-direction: column; gap: 12px; }
.lp-faq__item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  transition: border-color .18s, box-shadow .18s;
}
.lp-faq__item:hover { border-color: #cfe6da; }
.lp-faq__item[open] { box-shadow: var(--shadow-sm); }
.lp-faq__item summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 15.5px;
  letter-spacing: -.2px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--brand);
  font-weight: 700;
  line-height: 1;
  transition: transform .2s;
}
.lp-faq__item[open] summary::after { transform: rotate(45deg); }
.lp-faq__item p {
  margin: 12px 0 0;
  color: var(--ink-3);
  font-size: 14.5px;
  font-weight: 500;
}

/* ---------------- CTA ---------------- */
.lp-cta {
  padding: 84px 0;
  background: linear-gradient(150deg, #12341f, #17492e 48%, #1f8a4c);
  text-align: center;
}
.lp-cta__inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lp-cta__title {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -1.1px;
  color: #fff;
  line-height: 1.15;
}
.lp-cta__lead {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, .74);
  font-size: 16.5px;
  max-width: 560px;
  font-weight: 500;
}
.lp-cta .lp-btn--hero {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}
.lp-cta .lp-btn--hero:hover { box-shadow: 0 18px 44px rgba(0, 0, 0, .36); }

/* ---------------- Подвал ---------------- */
.lp-footer {
  padding: 42px 0 52px;
  background: var(--ink);
  color: rgba(255, 255, 255, .66);
  font-size: 13.5px;
}
.lp-footer__inner { display: flex; flex-direction: column; gap: 18px; }
.lp-footer__brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: #fff; }
.lp-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.lp-footer__nav a { color: rgba(255, 255, 255, .66); text-decoration: none; font-weight: 600; }
.lp-footer__nav a:hover { color: #6fe08a; }
.lp-footer__note { margin: 0; max-width: 720px; font-size: 12.5px; line-height: 1.6; }

/* ---------------- Адаптив ---------------- */
@media (max-width: 980px) {
  .lp-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lp-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-steps { grid-template-columns: minmax(0, 1fr); }
  .lp-pricing { grid-template-columns: minmax(0, 1fr); }
  .lp-price--featured { transform: none; }
  .lp-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .lp-nav { display: none; }
}

@media (max-width: 720px) {
  /* На телефоне главная кнопка должна быть на первом экране —
     превью прячем, чтобы не отодвигать текст вниз */
  .lp-hero__preview { display: none; }
  .lp-hero { padding: 32px 0 32px; }
  .lp-eyebrow { margin-bottom: 14px; font-size: 11.5px; padding: 6px 12px; }
  .lp-hero__lead { font-size: 16px; margin-bottom: 24px; }
  .lp-hero__actions { margin-bottom: 20px; }
  .lp-preview { transform: none; }
}

@media (max-width: 640px) {
  .lp-hero { padding: 40px 0 36px; }
  .lp-section { padding: 56px 0; }
  .lp-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-hero__title { letter-spacing: -1px; }
  .lp-btn--hero { width: 100%; padding: 18px 24px; font-size: 17px; }
  .lp-btn--lg { padding: 18px 28px; font-size: 17px; }
  .lp-hero__actions { flex-direction: column; align-items: stretch; }
  .lp-btn--secondary { width: 100%; }
  .lp-header__inner { gap: 12px; }
  .lp-logo__tag { display: none; }
  .lp-stat__value { font-size: 26px; }
  .lp-preview__table th:nth-child(3),
  .lp-preview__table td:nth-child(3) { display: none; }
}
/* ---------------- Пользователь в шапке лендинга ---------------- */
.lp-user { position: relative; }
.lp-user__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-2);
  transition: border-color .15s;
}
.lp-user__pill:hover { border-color: var(--brand); }
.lp-user__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(145deg, #4dc45a, var(--brand));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.lp-user__email { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Меню раскрывается при наведении и по фокусу с клавиатуры — без JS */
.lp-user__menu {
  position: absolute;
  right: 0;
  /* Прижимаем к кнопке вплотную, а визуальный отступ даёт невидимый «мостик» ниже */
  top: 100%;
  padding-top: 10px;
  min-width: 220px;
  background: transparent;
  display: none;
  z-index: 60;
}
/* Невидимая полоса между кнопкой и меню: курсор не «выпадает» из :hover */
.lp-user__menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
}
/* Внутренняя панель — то, что видно пользователю */
.lp-user__menu > .lp-user__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(16, 35, 26, .16);
  padding: 6px;
  animation: lp-menu-in .14s ease;
}
@keyframes lp-menu-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
/* Расширяем зону наведения на сам контейнер — плашка не пропадает на краях */
.lp-user::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 12px;
}
.lp-user:hover .lp-user__menu,
.lp-user:focus-within .lp-user__menu { display: block; }
.lp-user__menu a,
.lp-user__menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.lp-user__menu a:hover,
.lp-user__menu button:hover { background: var(--surface-2); color: var(--ink); }
.lp-user__logout { margin: 0; }
.lp-user__logout button { color: #d64545; }
.lp-user__logout button:hover { background: #fdecec; }

@media (max-width: 640px) {
  .lp-user__email { display: none; }
  .lp-user__pill { padding: 4px; }
}
.lp-user__chev { font-size: 10px; color: var(--ink-3); margin-left: 2px; }

.lp-user__head { padding: 10px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.lp-user__head-email { font-size: 13px; font-weight: 800; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-user__head-meta { font-size: 11.5px; color: var(--ink-3); font-weight: 600; margin-top: 2px; }
.lp-user__sep { height: 1px; background: var(--line); margin: 6px 4px; }
.lp-user__menu > .lp-user__panel > a,
.lp-user__menu > .lp-user__panel > .lp-user__logout > button {
  display: block; width: 100%; text-align: left; padding: 10px 12px;
  border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  text-decoration: none; background: none; border: none; cursor: pointer; font-family: inherit;
}
.lp-user__menu > .lp-user__panel > a:hover { background: var(--surface-2); color: var(--ink); }
.lp-user__logout { margin: 0; }
.lp-user__logout button { color: #d64545; }
.lp-user__logout button:hover { background: #fdecec; }

/* ================================================================
   Лендинг: блоки обогащения и инструментов
   ================================================================ */

.lp-bg-soft {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lp-grid--tight { gap: 14px; }

.lp-card--flat {
  box-shadow: none;
  background: var(--bg);
  border-color: var(--line);
}
.lp-card--flat:hover { background: var(--surface); }

/* Карточки инструментов — ссылки на отдельные страницы */
.lp-tools {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.lp-tool {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.lp-tool:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}

.lp-tool__icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: grid; place-items: center;
  font-size: 21px;
}
.lp-tool__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.lp-tool__title { font-size: 16.5px; font-weight: 800; letter-spacing: -.3px; color: var(--ink); }
.lp-tool__desc { font-size: 14px; color: var(--ink-3); font-weight: 500; line-height: 1.5; }
.lp-tool__go {
  font-size: 19px; color: var(--brand); font-weight: 800;
  flex-shrink: 0; transition: transform .18s;
}
.lp-tool:hover .lp-tool__go { transform: translateX(4px); }

@media (max-width: 640px) {
  .lp-tool { padding: 18px; gap: 14px; }
  .lp-tool__icon { width: 42px; height: 42px; font-size: 18px; border-radius: 12px; }
  .lp-tool__title { font-size: 15px; }
  .lp-tool__desc { font-size: 13px; }
  .lp-tool__go { display: none; }
}

/* ================================================================
   Мобильное меню лендинга (без JavaScript — на <details>)
   ================================================================ */

.lp-burger { display: none; position: relative; }

.lp-burger > summary {
  list-style: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  padding: 11px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.lp-burger > summary::-webkit-details-marker { display: none; }
.lp-burger > summary span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--ink-2); transition: transform .2s, opacity .2s;
}
.lp-burger[open] > summary { background: var(--brand-soft); border-color: var(--brand); }

.lp-burger__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(280px, calc(100vw - 28px));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(16, 35, 26, .2);
  padding: 8px;
  z-index: 60;
  animation: lpMenuIn .16s ease;
}
@keyframes lpMenuIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.lp-burger__panel a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-2);
  text-decoration: none;
}
.lp-burger__panel a:hover,
.lp-burger__panel a:active { background: var(--surface-2); color: var(--brand-dark); }
.lp-burger__sep { height: 1px; background: var(--line); margin: 6px 4px; }

/* Показываем бургер вместо горизонтального меню на узких экранах */
@media (max-width: 980px) {
  .lp-burger { display: block; margin-left: auto; }
}
