.lp-shell-footer,
.lp-shell-legal-footer {
  --lp-shell-purple: #5b4fe9;
  --lp-shell-ink: #0b0917;
  --lp-shell-muted: rgba(255, 255, 255, 0.68);
  --lp-shell-border: rgba(255, 255, 255, 0.08);
  --lp-shell-container: min(1180px, calc(100% - 40px));
}

.lp-shell-footer *,
.lp-shell-legal-footer * {
  box-sizing: border-box;
}

.lp-shell-footer a,
.lp-shell-legal-footer a {
  text-decoration: none;
}

.lp-shell-footer .container,
.lp-shell-legal-footer .container {
  width: var(--lp-shell-container);
  margin: 0 auto;
}

.lp-shell-footer .nav-brand,
.lp-shell-legal-footer .legal-footer-brandmark {
  font-family: "Cabinet Grotesk", "DM Sans", Arial, sans-serif;
}

.lp-shell-footer .brand-mark,
.lp-shell-legal-footer .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #4363ff;
  color: #ffffff;
  font-family: "Cabinet Grotesk", "DM Sans", Arial, sans-serif;
  font-weight: 800;
}

.lp-shell-footer {
  margin-top: 48px;
  padding: 70px 0 28px;
  background: #13102a;
  color: rgba(255, 255, 255, 0.76);
}

.lp-shell-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr));
  gap: 28px 36px;
}

.lp-shell-footer .footer-brand {
  max-width: 280px;
}

.lp-shell-footer .footer-brand .nav-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.lp-shell-footer .footer-brand .brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.78rem;
  letter-spacing: -0.04em;
}

.lp-shell-footer .footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.45;
}

.lp-shell-footer .footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.lp-shell-footer .footer-column h4 {
  margin: 0 0 6px;
  color: #ffffff;
  font-family: "Cabinet Grotesk", "DM Sans", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.lp-shell-footer .footer-links {
  display: grid;
  gap: 12px;
}

.lp-shell-footer .footer-links a,
.lp-shell-footer .coming-soon {
  color: rgba(255, 255, 255, 0.7);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.96rem;
  line-height: 1.45;
}

.lp-shell-footer .coming-soon {
  opacity: 0.78;
}

.lp-shell-footer .footer-links a:hover,
.lp-shell-footer .footer-links a:focus-visible,
.lp-shell-legal-footer .legal-footer-links a:hover,
.lp-shell-legal-footer .legal-footer-links a:focus-visible {
  color: #ffffff;
}

.lp-shell-legal-footer {
  position: relative;
  overflow: hidden;
  padding: 68px 0 54px;
  background: #14182a;
  color: rgba(255, 255, 255, 0.68);
}

.lp-shell-legal-footer::after {
  content: "";
  position: absolute;
  top: 0;
  right: min(3vw, 28px);
  width: 76px;
  height: 104px;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #4d46ff 0%, #3c36f2 100%);
  box-shadow: 0 18px 36px rgba(77, 70, 255, 0.18);
  opacity: 0.96;
}

.lp-shell-legal-footer .legal-footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: start;
}

.lp-shell-legal-footer .legal-footer-brand {
  display: grid;
  gap: 12px;
  max-width: 580px;
}

.lp-shell-legal-footer .legal-footer-brandmark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.lp-shell-legal-footer .legal-footer-brandmark .brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  font-size: 1.32rem;
  box-shadow: 0 14px 30px rgba(91, 79, 233, 0.22);
}

.lp-shell-legal-footer .legal-footer-brandmark small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.lp-shell-legal-footer .legal-footer-right {
  display: grid;
  gap: 28px;
}

.lp-shell-legal-footer .legal-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
  align-items: start;
}

.lp-shell-legal-footer .legal-footer-links a {
  color: rgba(255, 255, 255, 0.66);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.lp-shell-legal-footer .legal-footer-meta {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.46);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 991px) {
  .lp-shell-footer .footer-grid,
  .lp-shell-legal-footer .legal-footer-grid {
    grid-template-columns: 1fr;
  }

  .lp-shell-legal-footer .legal-footer-right {
    gap: 22px;
  }
}

@media (max-width: 767px) {
  .lp-shell-footer {
    margin-top: 36px;
    padding: 48px 0 22px;
  }

  .lp-shell-footer .container,
  .lp-shell-legal-footer .container {
    width: min(1180px, calc(100% - 28px));
  }

  .lp-shell-footer .footer-grid {
    gap: 24px;
  }

  .lp-shell-legal-footer {
    padding: 46px 0 38px;
  }

  .lp-shell-legal-footer::after {
    right: 16px;
    width: 54px;
    height: 74px;
  }

  .lp-shell-legal-footer .legal-footer-brandmark {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
  }

  .lp-shell-legal-footer .legal-footer-brandmark .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .lp-shell-legal-footer .legal-footer-links {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
