@layer pwf52foot {

/* ---------- 0. Legacy Kinetyka bar: gone ---------- */
#pw-skf, .pw-skf { display: none !important; }

/* ---------- A. Higgsfield AI partner bar ---------- */
.pw-hfg { display: block !important; box-sizing: border-box !important; position: relative !important; float: none !important; clear: both !important; width: 100% !important; max-width: 1320px !important; margin: 40px auto !important; padding: 0 clamp(16px, 3vw, 28px) !important; background: none !important; border: 0 !important; box-shadow: none !important; font-family: var(--pv-fs, "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif) !important; }
.pw-hfg *, .pw-hfg *::before, .pw-hfg *::after { box-sizing: border-box !important; }
.pw-hfg .pw-hfg-in { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 20px 36px !important; margin: 0 !important; padding: 22px 26px !important; background: radial-gradient(120% 150% at 0% 0%, rgba(154, 107, 255, .12), transparent 56%), #12121d !important; border: 1px solid rgba(154, 107, 255, .28) !important; border-radius: 14px !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 14px 36px -20px rgba(0, 0, 0, .7) !important; overflow: hidden !important; }
.pw-hfg .pw-hfg-copy { flex: 1 1 auto !important; min-width: 0 !important; }
.pw-hfg .pw-hfg-eyebrow { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 6px 10px !important; margin: 0 0 9px !important; }
.pw-hfg .pw-hfg-badge { display: inline-block !important; padding: 2px 8px !important; background: rgba(214, 205, 255, .05) !important; border: 1px solid rgba(214, 205, 255, .18) !important; border-radius: 999px !important; font-size: 11px !important; font-weight: 600 !important; line-height: 1.5 !important; letter-spacing: .03em !important; text-transform: none !important; color: #b4b1c6 !important; }
.pw-hfg .pw-hfg-brand { font-size: 12px !important; font-weight: 700 !important; line-height: 1.5 !important; letter-spacing: .08em !important; text-transform: uppercase !important; color: #c4a8ff !important; }
.pw-hfg .pw-hfg-title { max-width: 62ch !important; margin: 0 0 13px !important; padding: 0 !important; font-family: var(--pv-ft, "Bricolage Grotesque", system-ui, sans-serif) !important; font-size: clamp(17px, 1.5vw, 21px) !important; font-weight: 700 !important; line-height: 1.25 !important; letter-spacing: -.012em !important; text-transform: none !important; text-wrap: balance !important; color: #f7f6fc !important; }
.pw-hfg .pw-hfg-chips { display: flex !important; flex-wrap: wrap !important; gap: 6px 8px !important; margin: 0 !important; padding: 0 !important; }
.pw-hfg .pw-hfg-chips span { display: inline-block !important; padding: 4px 10px !important; background: rgba(214, 205, 255, .05) !important; border: 1px solid rgba(214, 205, 255, .11) !important; border-radius: 8px !important; font-size: 12px !important; font-weight: 500 !important; line-height: 1.4 !important; white-space: nowrap !important; color: #c9c6d8 !important; }
.pw-hfg .pw-hfg-chips span:last-child { background: rgba(47, 210, 122, .08) !important; border-color: rgba(47, 210, 122, .28) !important; font-weight: 600 !important; color: #2fd27a !important; }
.pw-hfg a.pw-hfg-cta { flex: 0 0 auto !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; min-height: 44px !important; margin: 0 !important; padding: 11px 20px !important; background: #9a6bff !important; border: 1px solid transparent !important; border-radius: 10px !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 26px -12px rgba(154, 107, 255, .7) !important; font-family: inherit !important; font-size: 14.5px !important; font-weight: 700 !important; line-height: 1.2 !important; letter-spacing: 0 !important; text-decoration: none !important; text-transform: none !important; white-space: nowrap !important; color: #0a0a10 !important; cursor: pointer !important; transition: background-color .16s ease, transform .16s ease, box-shadow .16s ease !important; }
.pw-hfg a.pw-hfg-cta span { display: inline-block !important; color: inherit !important; transition: transform .16s ease !important; }
.pw-hfg a.pw-hfg-cta:hover { background: #b38cff !important; color: #0a0a10 !important; transform: translateY(-1px) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), 0 14px 30px -12px rgba(154, 107, 255, .85) !important; }
.pw-hfg a.pw-hfg-cta:hover span { transform: translateX(3px) !important; }
.pw-hfg a.pw-hfg-cta:active { transform: translateY(0) !important; }
.pw-hfg a.pw-hfg-cta:focus-visible { outline: 2px solid #f7f6fc !important; outline-offset: 3px !important; }

/* ---------- B. Footer shell (f52-st + fallback) ---------- */
footer.px-footer { display: block !important; box-sizing: border-box !important; width: 100% !important; margin: 0 !important; padding: 0 !important; background: #0c0c14 !important; border: 0 !important; border-top: 1px solid rgba(214, 205, 255, .10) !important; box-shadow: none !important; font-family: var(--pv-fs, "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif) !important; font-size: 13.5px !important; line-height: 1.5 !important; color: #d7d5e2 !important; }
footer.px-footer *, footer.px-footer *::before, footer.px-footer *::after { box-sizing: border-box !important; }
footer.px-footer .g1-w { width: 100% !important; max-width: 1320px !important; margin: 0 auto !important; padding: 52px clamp(16px, 3vw, 28px) 32px !important; background: none !important; border: 0 !important; }
footer.px-footer p { margin: 0 !important; }
footer.px-footer ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
footer.px-footer li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
footer.px-footer img { max-width: 100% !important; }
footer.px-footer a { color: #c9c6d8 !important; text-decoration: none !important; transition: color .15s ease, border-color .15s ease, background-color .15s ease, transform .15s ease, opacity .15s ease !important; }
footer.px-footer a:hover { color: #f7f6fc !important; }
footer.px-footer a:focus-visible, footer.px-footer summary:focus-visible, p.pv-wyg a:focus-visible, p.pv-wyg button:focus-visible { outline: 2px solid #b38cff !important; outline-offset: 2px !important; border-radius: 6px !important; }

/* ---------- B1. Author bio card ---------- */
footer.px-footer .f52-st-g { display: block !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
footer.px-footer .f52-st-om { display: flex !important; align-items: center !important; gap: 16px !important; margin: 0 0 40px !important; padding: 16px 20px !important; background: #13131c !important; border: 1px solid rgba(214, 205, 255, .11) !important; border-radius: 14px !important; }
footer.px-footer .f52-st-om > * { min-width: 0 !important; }
footer.px-footer .f52-st-om img { flex: 0 0 52px !important; display: block !important; width: 52px !important; height: 52px !important; margin: 0 !important; border: 1px solid rgba(214, 205, 255, .16) !important; border-radius: 50% !important; object-fit: cover !important; }
footer.px-footer .f52-st-om p { font-size: 13.5px !important; line-height: 1.5 !important; text-transform: none !important; letter-spacing: 0 !important; color: #9b98ad !important; }
footer.px-footer .f52-st-om strong, footer.px-footer .f52-st-om b { font-size: 15px !important; font-weight: 700 !important; color: #f7f6fc !important; }
footer.px-footer .f52-st-om a { display: inline-block !important; margin: 6px 8px 0 0 !important; padding: 4px 11px !important; background: rgba(154, 107, 255, .14) !important; border: 1px solid rgba(154, 107, 255, .28) !important; border-radius: 999px !important; font-size: 12.5px !important; font-weight: 600 !important; line-height: 1.4 !important; white-space: nowrap !important; color: #d9c8ff !important; }
footer.px-footer .f52-st-om a:hover { background: rgba(154, 107, 255, .22) !important; border-color: #9a6bff !important; color: #f7f6fc !important; }
footer.px-footer .f52-st-om a:has(> img) { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }

/* ---------- B2. Sitemap grid ---------- */
footer.px-footer nav.f52-st-kk { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 28px 24px !important; margin: 0 0 36px !important; padding: 0 !important; background: none !important; border: 0 !important; }
footer.px-footer .f52-st-k { min-width: 0 !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
footer.px-footer .f52-st-k p.fm { margin: 0 0 12px !important; padding: 0 !important; font-family: inherit !important; font-size: 11.5px !important; font-weight: 700 !important; line-height: 1.4 !important; letter-spacing: .08em !important; text-transform: uppercase !important; color: #9b98ad !important; }
footer.px-footer .f52-st-k p.fm a { font: inherit !important; letter-spacing: inherit !important; color: inherit !important; }
footer.px-footer .f52-st-k p.fm a:hover { color: #f7f6fc !important; }
footer.px-footer .f52-st-k ul.fl { display: flex !important; flex-direction: column !important; gap: 7px !important; }
footer.px-footer .f52-st-k ul.fl li::before, footer.px-footer .f52-st-k ul.fl li::marker { content: none !important; }
footer.px-footer .f52-st-k ul.fl a { display: inline-block !important; max-width: 100% !important; font-size: 13.5px !important; font-weight: 400 !important; line-height: 1.45 !important; overflow-wrap: anywhere !important; color: #c9c6d8 !important; }
footer.px-footer .f52-st-k ul.fl a:hover { color: #f7f6fc !important; transform: translateX(2px) !important; }
footer.px-footer .f52-st-k .fm.fa, footer.px-footer .f52-st-k .fm.fa a { font-family: inherit !important; font-size: 13px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; color: #c4a8ff !important; }
footer.px-footer .f52-st-k .fm.fa { display: inline-block !important; margin: 10px 0 0 !important; }
footer.px-footer .f52-st-k .fm.fa:hover, footer.px-footer .f52-st-k .fm.fa a:hover { color: #f7f6fc !important; }

/* ---------- B3. Collapsible topics bar ---------- */
footer.px-footer details.f52-st-t { display: block !important; margin: 0 !important; padding: 14px 0 !important; background: none !important; border: 0 !important; border-block: 1px solid rgba(214, 205, 255, .10) !important; border-radius: 0 !important; }
footer.px-footer details.f52-st-t > summary { display: flex !important; align-items: center !important; gap: 10px !important; margin: 0 !important; padding: 0 !important; list-style: none !important; font-family: inherit !important; font-size: 11.5px !important; font-weight: 700 !important; line-height: 1.4 !important; letter-spacing: .08em !important; text-transform: uppercase !important; color: #9b98ad !important; cursor: pointer !important; user-select: none !important; transition: color .15s ease !important; }
footer.px-footer details.f52-st-t > summary::-webkit-details-marker { display: none !important; }
footer.px-footer details.f52-st-t > summary::marker { content: "" !important; }
footer.px-footer details.f52-st-t > summary i { font-style: normal !important; font-variant-numeric: tabular-nums !important; color: #c4a8ff !important; }
/* indicator is drawn here; drop any literal "+" from the summary markup */
footer.px-footer details.f52-st-t > summary::after { content: "+" !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 22px !important; height: 22px !important; margin-left: auto !important; border: 1px solid rgba(214, 205, 255, .16) !important; border-radius: 6px !important; font-size: 15px !important; font-weight: 400 !important; line-height: 1 !important; letter-spacing: 0 !important; color: #9b98ad !important; transition: color .15s ease, border-color .15s ease !important; }
footer.px-footer details.f52-st-t[open] > summary::after { content: "\2212" !important; }
footer.px-footer details.f52-st-t > summary:hover { color: #f7f6fc !important; }
footer.px-footer details.f52-st-t > summary:hover::after { border-color: #9a6bff !important; color: #f7f6fc !important; }
footer.px-footer details.f52-st-t ul.fpm { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; padding: 16px 0 4px !important; }
footer.px-footer details.f52-st-t ul.fpm a { display: inline-flex !important; align-items: baseline !important; gap: 8px !important; padding: 6px 12px !important; background: #13131c !important; border: 1px solid rgba(214, 205, 255, .11) !important; border-radius: 999px !important; font-size: 13px !important; font-weight: 500 !important; line-height: 1.4 !important; text-transform: none !important; letter-spacing: 0 !important; color: #c9c6d8 !important; }
footer.px-footer details.f52-st-t ul.fpm a i { font-size: 11.5px !important; font-style: normal !important; font-variant-numeric: tabular-nums !important; color: #9b98ad !important; }
footer.px-footer details.f52-st-t ul.fpm a:hover { background: #1a1a27 !important; border-color: rgba(154, 107, 255, .5) !important; color: #f7f6fc !important; }

/* ---------- B4. Brand + legal + social row ---------- */
footer.px-footer .f52-st-d { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 18px 28px !important; margin: 0 !important; padding: 24px 0 18px !important; background: none !important; border: 0 !important; }
footer.px-footer a.px-term-brand, footer.px-footer a.f52-logo { display: inline-flex !important; align-items: baseline !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; font-family: var(--pv-ft, "Bricolage Grotesque", system-ui, sans-serif) !important; font-size: 20px !important; font-weight: 800 !important; line-height: 1 !important; letter-spacing: -.02em !important; text-transform: none !important; color: #f7f6fc !important; }
footer.px-footer a.px-term-brand *, footer.px-footer a.f52-logo * { font: inherit !important; letter-spacing: inherit !important; }
footer.px-footer a.px-term-brand .u, footer.px-footer a.f52-logo .u { color: #9a6bff !important; }
footer.px-footer nav.f52-st-f { display: flex !important; flex-wrap: wrap !important; gap: 8px 18px !important; margin: 0 !important; padding: 0 !important; font-family: inherit !important; font-size: 13px !important; text-transform: none !important; letter-spacing: 0 !important; }
footer.px-footer nav.f52-st-f a { font-family: inherit !important; font-size: 13px !important; font-weight: 400 !important; line-height: 1.5 !important; text-transform: none !important; letter-spacing: 0 !important; color: #9b98ad !important; }
footer.px-footer nav.f52-st-f a:hover { color: #f7f6fc !important; }
footer.px-footer .f52-st-s { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 8px !important; margin: 0 0 0 auto !important; padding: 0 !important; }
footer.px-footer .f52-st-s a { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 34px !important; height: 34px !important; padding: 0 !important; background: #13131c !important; border: 1px solid rgba(214, 205, 255, .16) !important; border-radius: 8px !important; color: #9b98ad !important; }
footer.px-footer .f52-st-s a svg { display: block !important; width: 16px !important; height: 16px !important; color: inherit !important; }
footer.px-footer .f52-st-s a svg:not([fill="none"]) { fill: currentColor !important; }
footer.px-footer .f52-st-s a:hover { background: #1a1a27 !important; border-color: #9a6bff !important; color: #f7f6fc !important; transform: translateY(-1px) !important; }

/* ---------- B5. Copyright + grants row ---------- */
footer.px-footer .f52-st-c.fm { display: flex !important; flex-wrap: wrap !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important; margin: 0 !important; padding: 16px 0 0 !important; border: 0 !important; border-top: 1px solid rgba(214, 205, 255, .08) !important; font-family: inherit !important; font-size: 12.5px !important; font-weight: 400 !important; line-height: 1.5 !important; letter-spacing: 0 !important; text-transform: none !important; color: #7e7b92 !important; }
footer.px-footer .f52-st-c.fm a { display: inline-flex !important; align-items: center !important; gap: 8px !important; color: #9b98ad !important; }
footer.px-footer .f52-st-c.fm a:hover { color: #f7f6fc !important; }
footer.px-footer .px-footer-grant-img { display: block !important; width: auto !important; height: 22px !important; max-width: none !important; margin: 0 !important; opacity: .72 !important; transition: opacity .15s ease !important; }
footer.px-footer .px-footer-grant-img:hover, footer.px-footer a:hover .px-footer-grant-img { opacity: 1 !important; }

/* ---------- B6. Ghost utility button ---------- */
p.pv-wyg { box-sizing: border-box !important; width: 100% !important; max-width: 1320px !important; margin: 0 auto !important; padding: 12px clamp(16px, 3vw, 28px) 16px !important; background: none !important; border: 0 !important; font-family: var(--pv-fs, "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif) !important; font-size: 12px !important; line-height: 1.4 !important; letter-spacing: 0 !important; text-align: right !important; text-transform: none !important; color: #7e7b92 !important; }
footer.px-footer p.pv-wyg { margin: 12px 0 0 !important; padding: 0 !important; }
p.pv-wyg a, p.pv-wyg button { display: inline-flex !important; align-items: center !important; gap: 6px !important; margin: 0 !important; padding: 5px 10px !important; background: transparent !important; border: 1px solid transparent !important; border-radius: 8px !important; box-shadow: none !important; font-family: inherit !important; font-size: 12px !important; font-weight: 500 !important; line-height: 1.4 !important; letter-spacing: 0 !important; text-decoration: none !important; text-transform: none !important; color: #7e7b92 !important; cursor: pointer !important; transition: color .15s ease, border-color .15s ease !important; }
p.pv-wyg a:hover, p.pv-wyg button:hover { background: transparent !important; border-color: rgba(214, 205, 255, .16) !important; color: #d7d5e2 !important; }

/* ---------- C. Tablet (<= 1080px) ---------- */
@media (max-width: 1080px) {
  footer.px-footer nav.f52-st-kk { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 32px 24px !important; }
  footer.px-footer .g1-w { padding-top: 44px !important; }
}

/* ---------- D. Stack partner bar (<= 768px) ---------- */
@media (max-width: 768px) {
  .pw-hfg { margin: 28px auto !important; }
  .pw-hfg .pw-hfg-in { flex-direction: column !important; align-items: stretch !important; gap: 18px !important; padding: 20px 18px !important; }
  .pw-hfg .pw-hfg-title { max-width: none !important; font-size: 17px !important; }
  .pw-hfg a.pw-hfg-cta { width: 100% !important; min-height: 48px !important; font-size: 15px !important; }
  footer.px-footer .f52-st-s { margin-left: 0 !important; }
}

/* ---------- E. Mobile (<= 640px) ---------- */
@media (max-width: 640px) {
  footer.px-footer .g1-w { padding: 36px 16px 24px !important; }
  footer.px-footer .f52-st-om { align-items: flex-start !important; gap: 14px !important; margin-bottom: 32px !important; padding: 14px 16px !important; }
  footer.px-footer nav.f52-st-kk { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 30px 18px !important; margin-bottom: 30px !important; }
  footer.px-footer .f52-st-k ul.fl { gap: 10px !important; }
  footer.px-footer .f52-st-k ul.fl a { font-size: 14px !important; }
  footer.px-footer details.f52-st-t > summary { min-height: 28px !important; }
  footer.px-footer details.f52-st-t ul.fpm a { padding: 7px 12px !important; }
  footer.px-footer .f52-st-d { gap: 16px 20px !important; padding: 22px 0 16px !important; }
  footer.px-footer a.px-term-brand, footer.px-footer a.f52-logo { flex: 0 0 100% !important; }
  footer.px-footer nav.f52-st-f { flex: 0 0 100% !important; gap: 10px 18px !important; }
  footer.px-footer .f52-st-s a { width: 38px !important; height: 38px !important; }
  footer.px-footer .f52-st-c.fm { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }
  p.pv-wyg { text-align: left !important; }
  p.pv-wyg a, p.pv-wyg button { margin-left: -10px !important; }
}

/* ---------- F. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .pw-hfg a.pw-hfg-cta, .pw-hfg a.pw-hfg-cta span, footer.px-footer a, footer.px-footer summary, footer.px-footer summary::after, footer.px-footer .px-footer-grant-img, p.pv-wyg a, p.pv-wyg button { transition: none !important; }
  .pw-hfg a.pw-hfg-cta:hover, .pw-hfg a.pw-hfg-cta:hover span, footer.px-footer .f52-st-k ul.fl a:hover, footer.px-footer .f52-st-s a:hover { transform: none !important; }
}

} /* END pw-footer-fable52.css */
