/* Public marketing-site footer links and short form privacy notices.
   Scoped: does not change the existing header/menu or product UI. */
.site-legal-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(196,181,253,.18);
  background: rgba(10,9,16,.82);
}
.site-legal-footer > .container {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.1rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.3rem;
}
.site-legal-footer span {
  color: #a99fb9;
  font-size: .76rem;
}
.site-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem 1.2rem;
}
.site-legal-links a {
  color: #cfc0e6;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}
.site-legal-links a:hover,
.site-legal-links a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-form-privacy {
  margin: .65rem 0;
  color: #bcb2c9;
  font-size: .75rem;
  line-height: 1.55;
}
.site-form-privacy a {
  color: #d6c3ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dd-footer-bottom .site-legal-links {
  margin-left: auto;
}
.dd-footer-bottom .site-legal-links a {
  font-size: .76rem;
}
@media(max-width:720px) {
  .site-legal-footer > .container { justify-content: center; text-align: center; }
  .site-legal-links { justify-content: center; }
  .dd-footer-bottom .site-legal-links { margin-left: 0; }
}

.dd-newsletter-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: .55rem .9rem;
  border: 1px solid rgba(196,181,253,.35);
  border-radius: 10px;
  color: #f5edff;
  background: rgba(124,58,237,.16);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}
.dd-newsletter-contact-link:hover,.dd-newsletter-contact-link:focus-visible {
  color: #fff;
  border-color: #b9a1f5;
  background: rgba(124,58,237,.28);
}


/* Other DD experience pages now use a 1400px desktop shell.
   Keep their shared footer aligned to the same outer edges, while preserving
   the intentionally narrower 1200px Testimonials layout and home footer. */
@media (min-width:901px) {
  .experience-page:not(.testimonials-page):not(.legal-page) .site-legal-footer > .container {
    width:min(1400px,calc(100% - 2rem));
  }
}

/* A single-pixel, glacial-speed border sweep. The homepage has its own true footer. */
.site-legal-footer,
.guide-body .guide-footer { position:relative; }
.site-legal-footer::before,
.guide-body .guide-footer::before {
  content:"";
  position:absolute;
  top:-1px;
  left:0;
  right:0;
  height:1px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent 0%,rgba(180,141,245,.06) 17%,rgba(180,141,245,.65) 39%,rgba(217,193,255,.96) 50%,rgba(169,116,242,.12) 72%,transparent 100%);
  background-size:300% 100%;
  animation:dd-glacial-border-sweep 176s ease-in-out infinite alternate;
}
@keyframes dd-glacial-border-sweep { from{background-position:0% 50%} to{background-position:100% 50%} }
@media(prefers-reduced-motion:reduce){
 .site-legal-footer::before,.guide-body .guide-footer::before { animation:none; background-position:50% 50%; }
}
