/* Единая шапка и подвал Moment для всех страниц сайта.
   Подключается как /site.css и используется и страницами сборщика, и посадочными.
   Цвета — фирменные токены из приложения. */

.m-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #262b38;
  background: rgba(15, 17, 23, .94);
  backdrop-filter: blur(10px);
}
.m-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.m-header__logo {
  font-size: 18px;
  font-weight: 700;
  color: #e8eaf0;
  text-decoration: none;
  letter-spacing: -.01em;
}
.m-header__nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
}
.m-header__nav a {
  color: #9aa2b4;
  text-decoration: none;
  font-size: 15px;
}
.m-header__nav a:hover { color: #e8eaf0; }
.m-header__cta {
  background: #6c5ce7;
  color: #fff;
  padding: 9px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.m-header__cta:hover { background: #8b7cf6; }

.m-footer {
  margin-top: 72px;
  border-top: 1px solid #262b38;
  padding: 34px 20px 56px;
  color: #9aa2b4;
  font-size: 14px;
  line-height: 1.65;
}
.m-footer__inner { max-width: 1120px; margin: 0 auto; }
.m-footer__cta {
  display: inline-block;
  background: #6c5ce7;
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 20px;
}
.m-footer__cta:hover { background: #8b7cf6; }
.m-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 18px;
}
.m-footer__nav a { color: #9aa2b4; text-decoration: none; }
.m-footer__nav a:hover { color: #e8eaf0; }
.m-footer__note { max-width: 780px; margin: 0 0 12px; }
.m-footer__legal { margin: 0; color: #6f7688; }
.m-footer__legal a { color: #6f7688; }

@media (max-width: 720px) {
  .m-header__nav { display: none; }
  .m-header__cta { margin-left: auto; }
}
