.landing-page {
  margin: 0;
}

.footer-legal-link {
  opacity: 0.8;
}

.footer-legal-separator {
  margin: 0 4px;
  opacity: 0.5;
}

.landing-page {
  --landing-text: #f8fafc;
  --landing-dim: #718096;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(56, 189, 248, 0.18), transparent 30%),
    radial-gradient(circle at 82% 5%, rgba(34, 197, 94, 0.13), transparent 28%),
    linear-gradient(140deg, #080c13 0%, #0f172a 50%, #071611 100%);
  color: var(--landing-text);
}

.landing-page section {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.landing-page::before,
.landing-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.landing-page::before {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.13) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

.landing-page::after {
  background:
    linear-gradient(90deg, rgba(34, 197, 94, 0.08), transparent 34%, rgba(56, 189, 248, 0.08) 72%, transparent),
    linear-gradient(to bottom, transparent 0 58%, rgba(8, 12, 19, 0.74));
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 0 clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(8, 12, 19, 0.72);
  backdrop-filter: blur(18px);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 900;
  text-decoration: none;
}

.landing-brand img {
  border-radius: 10px;
}

.landing-brand img {
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.18), 0 12px 32px rgba(34, 197, 94, 0.14);
}

.landing-nav-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 800;
}

.landing-nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
}

.landing-nav-links a:hover,
.landing-nav-links a:focus-visible {
  color: #f8fafc;
}

.landing-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: #7c8da5;
}

.landing-footer p {
  margin: 0;
  color: #7c8da5;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 620px) {
  .landing-nav {
    position: static;
    align-items: flex-start;
    min-height: 0;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .landing-nav {
    flex-direction: column;
  }

  .landing-nav-links {
    width: 100%;
  }

  .landing-nav-links {
    justify-content: space-between;
  }

  .landing-footer {
    width: min(100% - 28px, 1180px);
  }
}

/* Final public landing override. Kept at EOF so dashboard/admin styles are untouched. */
.landing-page {
  --landing-text: #fff8ec;
  --landing-dim: #9f8f86;
  --landing-paper: #fff4df;
  background:
    linear-gradient(90deg, rgba(255, 244, 223, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 244, 223, 0.028) 1px, transparent 1px),
    linear-gradient(145deg, #17151d 0%, #281a25 40%, #12372f 100%);
  background-size: 34px 34px, 34px 34px, auto;
}

.landing-page::before {
  opacity: 0.32;
  background:
    linear-gradient(120deg, transparent 0 20%, rgba(216, 79, 85, 0.16) 20% 21%, transparent 21% 52%, rgba(244, 189, 69, 0.12) 52% 53%, transparent 53%),
    linear-gradient(30deg, transparent 0 38%, rgba(105, 216, 189, 0.1) 38% 39%, transparent 39%);
  background-size: 420px 420px, 360px 360px;
}

.landing-page::after {
  background:
    linear-gradient(180deg, rgba(23, 21, 29, 0) 0%, rgba(23, 21, 29, 0.38) 100%),
    repeating-linear-gradient(135deg, rgba(255, 244, 223, 0.04) 0 1px, transparent 1px 16px);
}

.landing-nav {
  border-bottom: 1px solid rgba(255, 244, 223, 0.14);
  background: rgba(23, 21, 29, 0.78);
  backdrop-filter: blur(18px);
}

.landing-brand img {
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(244, 189, 69, 0.4), 0 12px 28px rgba(216, 79, 85, 0.24);
}

.landing-nav-links a {
  color: var(--landing-paper);
}

.landing-footer {
  border-top-color: rgba(255, 244, 223, 0.14);
}

.landing-footer p {
  color: var(--landing-dim);
}
