/* LOST redesign — base: контейнер, секции, типографика, utilities.
   Область действия ограничена классами .lost-* и телом главной (.lost-home-page),
   чтобы не влиять на legacy-страницы. */

.lost-container {
  width: min(var(--lost-container-max), 100% - 2 * var(--lost-container-pad));
  margin-inline: auto;
}

.lost-section {
  padding-block: var(--lost-space-section);
}

.lost-link {
  color: var(--lost-text-link);
  text-decoration: none;
  transition: color var(--lost-transition);
}

.lost-link:hover {
  color: var(--lost-text-link-hover);
}

/* Заголовки */
.lost-h1,
.lost-h2,
.lost-h3,
.lost-h4 {
  margin: 0;
  color: var(--lost-text-primary);
  font-family: var(--lost-font-family);
  line-height: var(--lost-lh-tight);
}
.lost-h1 { font-size: var(--lost-fs-h1); font-weight: var(--lost-fw-bold); }
.lost-h2 { font-size: var(--lost-fs-h2); font-weight: var(--lost-fw-semibold); }
.lost-h3 { font-size: var(--lost-fs-h3); font-weight: var(--lost-fw-semibold); }
.lost-h4 { font-size: var(--lost-fs-h4); font-weight: var(--lost-fw-semibold); }

.lost-small { font-size: var(--lost-fs-small); color: var(--lost-text-muted); }

/* Глобально: тёмный фон + атмосфера как у .qa-login + шрифт Inter */
body {
  background: var(--lost-bg-page) !important;
  font-family: var(--lost-font-family);
  color: var(--lost-text-primary);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--lost-bg-atmosphere);
}
.lost-section {
  font-family: var(--lost-font-family);
  color: var(--lost-text-primary);
}

/* Утилиты */
.lost-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Legacy admin shortcut (corp_services_red/footer.php) — расширенная зона клика */
.admin_button {
  padding-top: 30px;
  padding-bottom: 30px;
}
