/* Маркетинговая главная (визитка) для гостей */

.nl-landing {
  --nl-ink: #1f2e26;
  --nl-forest: #3f5f4a;
  --nl-forest-deep: #2a4033;
  --nl-accent: #c45c26;
  --nl-paper: #f7f3ea;
  --nl-mist: #e7efe8;
  --nl-display: "Zen Maru Gothic", "Noto Sans JP", "Yu Gothic UI", sans-serif;
  --nl-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--nl-ink);
  font-family: var(--nl-body);
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  overflow-x: clip;
}

.nl-landing-hero {
  position: relative;
  min-height: calc(100vh - var(--app-shell-offset, 3.25rem));
  display: flex;
  align-items: flex-end;
  padding: 2.5rem 1.25rem 3rem;
  background:
    radial-gradient(120% 80% at 85% 10%, rgba(231, 239, 232, 0.95) 0%, transparent 55%),
    linear-gradient(160deg, #f7f3ea 0%, #eef4ef 42%, #dfeadf 100%);
  overflow: hidden;
}

.nl-landing-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
}

.nl-landing-glyph {
  position: absolute;
  font-family: var(--nl-display);
  font-weight: 700;
  color: rgba(63, 95, 74, 0.12);
  line-height: 1;
  animation: nl-landing-drift 12s ease-in-out infinite;
}

.nl-landing-glyph--a {
  top: 8%;
  right: 6%;
  font-size: clamp(7rem, 22vw, 14rem);
  animation-delay: 0s;
}

.nl-landing-glyph--ka {
  top: 28%;
  left: -2%;
  font-size: clamp(5rem, 16vw, 10rem);
  animation-delay: -4s;
}

.nl-landing-glyph--wa {
  bottom: 6%;
  right: 18%;
  font-size: clamp(4rem, 12vw, 8rem);
  animation-delay: -7s;
}

.nl-landing-hero-inner {
  position: relative;
  z-index: 1;
  width: min(40rem, 100%);
  max-width: 42rem;
  margin: 0 auto 0 0;
  padding-left: clamp(0rem, 6vw, 4rem);
}

.nl-landing-brand {
  margin: 0 0 0.85rem;
  font-family: var(--nl-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nl-forest-deep);
  line-height: 1.05;
  animation: nl-landing-rise 0.7s ease both;
}

.nl-landing-headline {
  margin: 0 0 0.75rem;
  font-family: var(--nl-display);
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--nl-ink);
  max-width: 22ch;
  animation: nl-landing-rise 0.7s ease 0.08s both;
}

.nl-landing-lead {
  margin: 0 0 1.35rem;
  font-size: 1.02rem;
  line-height: 1.45;
  color: #4a554d;
  max-width: 36ch;
  animation: nl-landing-rise 0.7s ease 0.16s both;
}

.nl-landing-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  animation: nl-landing-rise 0.7s ease 0.24s both;
}

.nl-landing-btn-primary,
.nl-landing-btn-secondary {
  min-width: 8.5rem;
  padding: 0.55rem 1.1rem !important;
  font-size: 0.95rem !important;
  font-weight: 600;
  border-radius: 0.35rem !important;
}

.nl-landing-btn-primary {
  background: var(--nl-forest) !important;
  border-color: var(--nl-forest) !important;
  color: #fff !important;
}

.nl-landing-btn-primary:hover {
  background: var(--nl-forest-deep) !important;
  border-color: var(--nl-forest-deep) !important;
  color: #fff !important;
}

.nl-landing-btn-secondary {
  background: transparent !important;
  border: 1.5px solid var(--nl-forest) !important;
  color: var(--nl-forest-deep) !important;
}

.nl-landing-btn-secondary:hover {
  background: rgba(63, 95, 74, 0.08) !important;
  color: var(--nl-forest-deep) !important;
}

.nl-landing-section,
.nl-landing-footer-cta {
  padding: 3rem 1.25rem;
  max-width: 40rem;
  margin: 0 auto;
}

.nl-landing-section--alt {
  max-width: none;
  background: linear-gradient(180deg, var(--nl-mist) 0%, #f3f7f3 100%);
  border-top: 1px solid rgba(63, 95, 74, 0.12);
  border-bottom: 1px solid rgba(63, 95, 74, 0.12);
}

.nl-landing-section--alt .nl-landing-section-title,
.nl-landing-section--alt .nl-landing-section-text {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.nl-landing-section-title {
  margin: 0 0 0.55rem;
  font-family: var(--nl-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--nl-forest-deep);
}

.nl-landing-section-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #4f5a52;
}

.nl-landing-footer-cta {
  text-align: left;
  padding-bottom: 3.5rem;
}

.nl-landing-footer-cta .nl-landing-cta {
  margin-top: 1.1rem;
}

@keyframes nl-landing-rise {
  from {
    opacity: 0;
    transform: translateY(0.7rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nl-landing-drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.6rem);
  }
}

@media (max-width: 767.98px) {
  .nl-landing-hero {
    align-items: center;
    padding-top: 2rem;
  }

  .nl-landing-hero-inner {
    padding-left: 0;
  }

  .nl-landing-headline {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nl-landing-brand,
  .nl-landing-headline,
  .nl-landing-lead,
  .nl-landing-cta,
  .nl-landing-glyph {
    animation: none !important;
  }
}
