/* PD Cash public consistency layer — 2026-07-22.
   Loaded by the shared marketing header on every public landing page. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-var-v20.woff2?v=20260712a") format("woff2");
}

html.seo-landing body,
html.seo-landing body.wp2-page,
html.seo-landing body.wp2-page .wp2-title {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* Align shared solution heroes with the 1200px header/content anchor. */
@media (min-width: 901px) {
  html.seo-landing--solution .hero {
    width: min(calc(100% - 48px), 1200px) !important;
  }
}

/* Legal pages: readable muted text, a real skip target, and stronger hierarchy. */
body.legal-page {
  --gray-300: #a7b3ae;
  --gray-400: #8a9690;
  --gray-500: #6f7a75;
}

body.legal-page .page-updated,
body.legal-page .footer-copy {
  color: var(--gray-400);
}

body.legal-page :where(a, button):focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 3px;
}

body.legal-page .skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 3000;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  color: #041006;
  background: var(--green-primary);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

body.legal-page .skip-link:focus {
  transform: none;
}

/* The checkout preview headline is visual copy, not a document heading. */
html.seo-landing--solution .checkout-preview-title {
  margin: 10px 0 12px;
  color: var(--pv-text, #f4f7f5);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.15;
}

/* Horizontal mobile cards remain compact, but the scrollbar now signals motion. */
@media (max-width: 900px) {
  html.seo-landing--solution .activation-steps,
  html.seo-landing--solution .support-showcase-grid {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(255, 255, 255, 0.28) transparent !important;
  }

  html.seo-landing--solution .activation-steps::-webkit-scrollbar,
  html.seo-landing--solution .support-showcase-grid::-webkit-scrollbar {
    display: block !important;
    height: 6px;
  }

  html.seo-landing--solution .activation-steps::-webkit-scrollbar-thumb,
  html.seo-landing--solution .support-showcase-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
  }
}

@media (max-width: 768px) {
  body.legal-page .page-content {
    padding-top: 96px;
  }

  body.legal-page .page-title {
    font-size: 2rem;
    line-height: 1.12;
    letter-spacing: -0.02em;
  }
}

/* The short proof strip should never look accidentally clipped on phones. */
@media (max-width: 600px) {
  html.seo-landing--solution .proofbar {
    width: calc(100% - 32px) !important;
    min-height: 0;
    display: grid !important;
    grid-template-columns: 1fr !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
  }

  html.seo-landing--solution .proof-item {
    width: 100%;
    min-width: 0 !important;
    min-height: 58px;
    padding: 0 14px;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11) !important;
    scroll-snap-align: none;
  }

  html.seo-landing--solution .proof-item:last-child {
    border-bottom: 0 !important;
  }

  html.seo-landing--solution .checkout-preview-title {
    font-size: 18px;
  }
}

/* Normalize legal/support link affordances while preserving page-specific footers. */
.footer-legal-links {
  row-gap: 8px;
}

.footer-legal-links a,
body.legal-page .footer-link,
body.wp2-page footer nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.footer a:hover,
body.wp2-page footer a:hover {
  color: #5ce66f !important;
  text-decoration: underline;
  text-decoration-color: rgba(92, 230, 111, 0.72);
  text-underline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  body.legal-page .skip-link {
    transition: none;
  }
}
