/* =======================================================
   Home page: "Get in touch" band + footer.
   Same look as the product / About pages (those get it from
   product/product.css). Keep the two in step if either changes.
   ======================================================= */
:root {
  --px-purple: #6a42d8;
  --px-ink: #1d1b22;
}

.px-container {
  max-width: 1440px;
  margin: 0 auto;
}

/* ---------- Get in touch band ---------- */
.px-cta {
  position: relative;
  overflow: hidden;
  background: #301e4c;
  padding: 96px var(--gutter);
  color: #ffffff;
}

/* moving purple → dark shade (strip slides by half its width, so it loops
   without a jump) */
.px-cta::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100%;
  width: 200%;
  background: linear-gradient(90deg,
      #6a45c4 0%, #4b318c 12%, #2c1d4a 25%, #3f3c8c 38%,
      #6a45c4 50%, #4b318c 62%, #2c1d4a 75%, #3f3c8c 88%,
      #6a45c4 100%);
  animation: px-cta-move 14s linear infinite;
  pointer-events: none;
}

@keyframes px-cta-move {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

.px-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.px-cta-eyebrow {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #d9d0ea;
}

.px-cta-title {
  margin: 0 0 18px;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.2;
  color: #ffffff;
}

.px-cta-sub {
  margin: 0;
  font-size: 15px;
  color: #cfc6e0;
}

.px-cta-btn {
  position: relative;
  overflow: hidden;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: #ffffff;
  color: var(--px-purple);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.px-cta-btn:hover {
  background: var(--px-purple);
  color: #ffffff;
}

/* light sweep across the button */
.px-cta-btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(106, 66, 216, 0.25), transparent);
  transform: skewX(-20deg);
  animation: px-sweep 3.5s ease-in-out infinite;
}

@keyframes px-sweep {
  0%, 55% { left: -60%; }
  100% { left: 130%; }
}

/* ---------- Footer ---------- */
.px-footer {
  background: #ffffff;
  padding: 56px var(--gutter) 32px;
}

.px-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e6e3ec;
}

.px-footer-logo {
  display: block;
  height: 76px;
  width: auto;
  margin: 0 0 10px -12px;
}

.px-footer-tag {
  max-width: 340px;
  margin: 0;
  font-size: 16px;
  color: #414654;
}

.px-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.px-footer-links a {
  color: #1d1b22;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.px-footer-links a:hover {
  color: var(--px-purple);
}

.px-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 24px;
}

.px-footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: #414654;
}

.px-footer-legal {
  margin-left: 14px;
  color: #414654;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.px-footer-legal:hover {
  color: var(--px-purple);
}

.px-social {
  display: flex;
  gap: 10px;
}

.px-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f1f6;
  color: var(--px-ink);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.px-social a:hover,
.px-social a:focus-visible {
  background: var(--px-purple);
  color: #ffffff;
  transform: translateY(-2px);
}

.px-social svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1023px) {
  .px-cta {
    padding: 64px var(--gutter);
  }

  .px-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .px-footer-top {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .px-cta::before,
  .px-cta-btn::after {
    animation: none;
  }
}
