/* Shared site footer + closing CTA — same layout on every page */

/* ---------- Closing CTA (above footer) ---------- */

.uxp-closing {
  background: #111;
  color: #fff;
  margin-top: 80px;
  padding: 72px 0;
}
.uxp-closing-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
  align-items: center;
  gap: 56px;
}
.uxp-closing-copy {
  min-width: 0;
}
.uxp-closing-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  color: #dfff00;
}
.uxp-closing h2 {
  margin: 0;
  max-width: 740px;
  font-size: clamp(1.75rem, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}
.uxp-closing h2 em {
  font-family: Inter, Arial, sans-serif;
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  color: #e0f100;
}
.uxp-closing-lead {
  margin: 18px 0 0;
  max-width: 680px;
  font-size: 17px;
  line-height: 1.8;
  color: #ccc;
}
.uxp-closing-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.uxp-closing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 24px;
  border: 1px solid #1f18e2;
  background: #1f18e2;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.uxp-closing-btn:hover,
.uxp-closing-btn:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #1f18e2;
}
.uxp-closing-email {
  color: #ddd;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
  transition: opacity 0.2s ease;
}
.uxp-closing-email:hover,
.uxp-closing-email:focus-visible {
  opacity: 0.7;
}

/* ---------- Site footer ---------- */

.uxp-footer {
  border-top: 1px solid rgba(202, 214, 255, 0.04);
  background: #111;
  color: #e0e0e0;
}
.uxp-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px;
}
.uxp-footer-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.uxp-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 48px;
  flex-shrink: 0;
}
.uxp-footer-logo {
  display: inline-block;
}
.uxp-footer-logo img {
  display: block;
  width: 255px;
  height: 49px;
  object-fit: contain;
}
.uxp-footer-tagline {
  margin: 7px 0 0 7px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: #e0e0e0;
}
.uxp-footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.uxp-footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0.5px solid #f6f8f2;
  color: #f6f8f2;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.uxp-footer-social a:hover,
.uxp-footer-social a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}
.uxp-footer-social svg {
  display: block;
  width: 20px;
  height: 20px;
}
.uxp-footer-navs {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 40px;
}
.uxp-footer-nav {
  min-width: 140px;
  flex: 1 1 140px;
}
.uxp-footer-nav h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: #f5f5f5;
}
.uxp-footer-nav ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.uxp-footer-nav a,
.uxp-footer-nav span {
  font-size: 16px;
  font-weight: 200;
  line-height: 24px;
  color: #e0e0e0;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.uxp-footer-nav a:hover,
.uxp-footer-nav a:focus-visible {
  opacity: 0.7;
}
.uxp-footer-nav span.is-muted {
  opacity: 0.6;
  cursor: default;
}
.uxp-footer-rule {
  margin: 40px 0 0;
  border: 0;
  border-top: 0.5px solid rgba(245, 245, 245, 0.25);
}
.uxp-footer-bottom {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.uxp-footer-copy {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  color: #e0e0e0;
}
.uxp-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.uxp-footer-legal li {
  display: flex;
  align-items: center;
  gap: 24px;
}
.uxp-footer-legal li + li {
  margin-left: 24px;
}
.uxp-footer-legal a {
  font-size: 16px;
  font-weight: 300;
  color: #b0b0b0;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.uxp-footer-legal a:hover,
.uxp-footer-legal a:focus-visible {
  opacity: 0.7;
}
.uxp-footer-legal-sep {
  display: block;
  width: 1px;
  height: 23px;
  background: #b0b0b0;
}

@media (min-width: 1024px) {
  .uxp-footer-top {
    flex-direction: row;
    justify-content: space-between;
    gap: 48px;
  }
  .uxp-footer-brand {
    width: 300px;
    gap: 88px;
  }
  .uxp-footer-navs {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 48px;
  }
  .uxp-footer-nav {
    flex: 0 0 auto;
    min-width: 0;
  }
  .uxp-footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 900px) {
  .uxp-closing-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .uxp-closing {
    margin-top: 48px;
    padding: 48px 0;
  }
  .uxp-closing-actions,
  .uxp-closing-btn {
    width: 100%;
  }
  .uxp-footer-inner {
    padding: 40px 20px;
  }
  .uxp-footer-nav h2 {
    font-size: 16px;
  }
  .uxp-footer-legal {
    gap: 12px 16px;
  }
  .uxp-footer-legal li + li {
    margin-left: 0;
  }
  .uxp-footer-legal li {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uxp-closing-btn,
  .uxp-footer-social a,
  .uxp-footer-nav a,
  .uxp-footer-legal a,
  .uxp-closing-email {
    transition: none;
  }
}
