/* pxj — ivory / ink / champagne */
:root { --pj-gold: 201, 162, 74; --pj-ink: 23, 19, 28; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: #f6f1e7; }
::selection { background: #e9d39b; color: #17131c; }

/* ornament label above headings */
.pj-kicker { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #86651f; }
.pj-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.pj-dark .pj-kicker { color: #e9d39b; }

/* buttons */
.pj-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px; padding: .85rem 1.6rem; font-weight: 600; color: #17131c;
  background: linear-gradient(135deg, #f1dea8 0%, #c9a24a 48%, #a8842f 100%); box-shadow: 0 10px 24px -12px rgba(var(--pj-gold), .9), inset 0 1px 0 rgba(255,255,255,.55);
  transition: transform .18s ease, box-shadow .18s ease; }
.pj-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(var(--pj-gold), 1), inset 0 1px 0 rgba(255,255,255,.55); }
.pj-btn:focus-visible, .pj-ghost:focus-visible { outline: 2px solid #b3263b; outline-offset: 3px; }
.pj-ghost { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px; padding: .8rem 1.5rem; font-weight: 600; border: 1px solid rgba(var(--pj-ink), .25); color: #17131c; transition: background .18s ease, border-color .18s ease; }
.pj-ghost:hover { background: rgba(var(--pj-ink), .06); border-color: rgba(var(--pj-ink), .45); }
.pj-dark .pj-ghost { color: #f6f1e7; border-color: rgba(246, 241, 231, .3); }
.pj-dark .pj-ghost:hover { background: rgba(246, 241, 231, .08); }

/* glass card on ivory */
.pj-glass { background: rgba(255, 255, 255, .58); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(var(--pj-gold), .35); border-radius: 1.25rem; box-shadow: 0 18px 40px -28px rgba(var(--pj-ink), .45); }
/* solid dark card with glowing champagne edge */
.pj-card { position: relative; background: linear-gradient(160deg, #2d2535 0%, #17131c 70%); color: #f6f1e7; border-radius: 1.25rem;
  box-shadow: 0 0 0 1px rgba(var(--pj-gold), .38), 0 22px 46px -24px rgba(var(--pj-gold), .55); }
.pj-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, rgba(var(--pj-gold), .22), transparent 35%, transparent 70%, rgba(179, 38, 59, .18)); mix-blend-mode: screen; }

/* navbar */
.pj-nav a[aria-current="page"] { color: #17131c; }
.pj-nav a[aria-current="page"]::after { transform: scaleX(1); }
.pj-nav a { position: relative; }
.pj-nav a::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .2rem; height: 2px; background: #c9a24a; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.pj-nav a:hover::after { transform: scaleX(1); }
#pj-bar.is-scrolled { box-shadow: 0 10px 30px -18px rgba(var(--pj-ink), .5); background: rgba(252, 250, 245, .94); }

/* hero pass */
.pj-pass { transform: rotate(-2.2deg); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.pj-pass:hover { transform: rotate(0deg) translateY(-4px); }
.pj-foil { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; overflow: hidden; }
.pj-foil::before { content: ""; position: absolute; top: -50%; left: -60%; width: 40%; height: 200%; transform: rotate(22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 240, 200, .22), transparent); animation: pj-sheen 6.5s ease-in-out infinite; }
@keyframes pj-sheen { 0%, 55% { left: -60%; } 100% { left: 140%; } }
.pj-hero-bg { background:
  radial-gradient(60rem 30rem at 85% -10%, rgba(var(--pj-gold), .28), transparent 60%),
  radial-gradient(40rem 26rem at -10% 110%, rgba(179, 38, 59, .10), transparent 60%),
  repeating-linear-gradient(90deg, rgba(var(--pj-ink), .035) 0 1px, transparent 1px 88px); }

/* Provider Logo Slider — two rows running in opposite directions */
.providers-marquee { overflow: hidden; display: grid; gap: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.providers-track { display: flex; gap: 14px; width: max-content; margin: 0; padding: 6px 0; list-style: none; animation: pj-scroll 58s linear infinite; animation-play-state: paused; }
.providers-track.is-rev { animation-direction: reverse; animation-duration: 66s; }
.providers-marquee.is-active .providers-track { animation-play-state: running; }
.providers-marquee.is-active:hover .providers-track { animation-play-state: paused; }
.providers-track li { flex: none; padding: 5px; border-radius: 18px; background: linear-gradient(145deg, rgba(var(--pj-gold), .55), rgba(var(--pj-gold), .08) 45%, rgba(var(--pj-gold), .4));
  transition: transform .2s ease, box-shadow .2s ease; }
.providers-track li:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 26px -6px rgba(var(--pj-gold), .8); }
.providers-track img { width: 188px; height: 120px; display: block; border-radius: 14px; background: #211b28; }
@keyframes pj-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) { .providers-track { animation: none; } .providers-marquee { overflow-x: auto; } }

/* reveal */
.no-js .pj-reveal, .pj-reveal.is-in { opacity: 1; transform: none; }
.pj-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) { .pj-reveal { opacity: 1; transform: none; transition: none; } }

/* image frame (keeps layout while images load) */
.pj-frame { background: linear-gradient(135deg, #2d2535, #17131c); overflow: hidden; }

/* route timeline */
.pj-route { counter-reset: route; }
.pj-route > li { counter-increment: route; position: relative; padding-left: 4.25rem; }
.pj-route > li::before { content: counter(route, decimal-leading-zero); position: absolute; left: 0; top: -.1rem; font-family: "Taviraj", serif; font-size: 2.1rem; font-weight: 700; line-height: 1; color: #c9a24a; }
.pj-route > li:not(:last-child)::after { content: ""; position: absolute; left: 1.2rem; top: 2.6rem; bottom: -1.4rem; width: 1px; background: linear-gradient(#c9a24a, transparent); }

/* FAQ */
.pj-faq summary { list-style: none; cursor: pointer; }
.pj-faq summary::-webkit-details-marker { display: none; }
.pj-faq summary .pj-plus { transition: transform .25s ease; }
.pj-faq details[open] summary .pj-plus { transform: rotate(45deg); }

/* status chips in the account mock */
.pj-chip { display: inline-flex; align-items: center; gap: .35rem; border-radius: 999px; padding: .15rem .6rem; font-size: .72rem; font-weight: 600; }
.pj-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* article typography */
.pj-prose { font-size: 1.06rem; line-height: 1.95; color: #2d2535; }
.pj-prose > * + * { margin-top: 1.15rem; }
.pj-prose h2 { margin-top: 2.6rem; font-family: "Taviraj", serif; font-weight: 700; font-size: 1.65rem; line-height: 1.35; color: #17131c; }
.pj-prose h3 { margin-top: 1.8rem; font-family: "Taviraj", serif; font-weight: 600; font-size: 1.25rem; color: #17131c; }
.pj-prose a { color: #86651f; text-decoration: underline; text-decoration-color: rgba(var(--pj-gold), .6); text-underline-offset: 3px; font-weight: 600; }
.pj-prose a:hover { color: #b3263b; }
.pj-prose ul, .pj-prose ol { padding-left: 1.4rem; }
.pj-prose ul { list-style: none; padding-left: 0; }
.pj-prose ul li { position: relative; padding-left: 1.6rem; }
.pj-prose ul li::before { content: ""; position: absolute; left: .2rem; top: .8rem; width: .55rem; height: .55rem; transform: rotate(45deg); background: #c9a24a; }
.pj-prose ol { list-style: decimal; }
.pj-prose ol li::marker { color: #86651f; font-weight: 700; }
.pj-prose li + li { margin-top: .5rem; }
.pj-prose blockquote { border-left: 3px solid #c9a24a; background: rgba(255,255,255,.6); padding: 1rem 1.25rem; border-radius: 0 1rem 1rem 0; font-family: "Taviraj", serif; font-size: 1.15rem; color: #17131c; }
.pj-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.pj-prose th, .pj-prose td { border-bottom: 1px solid rgba(var(--pj-ink), .12); padding: .7rem .6rem; text-align: left; vertical-align: top; }
.pj-prose th { background: #17131c; color: #e9d39b; font-weight: 600; }
.pj-prose th:first-child { border-top-left-radius: .75rem; }
.pj-prose th:last-child { border-top-right-radius: .75rem; }

/* reading progress */
#pj-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #c9a24a, #b3263b); z-index: 70; }

/* floating CTA (mobile) */
.pj-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; transition: transform .3s ease, opacity .3s ease; }
.pj-float.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* pbn: provider slider always auto-scrolls */
.providers-marquee { overflow: hidden !important; }
.providers-marquee .providers-track { animation-name: pj-scroll !important; animation-duration: 58s !important; animation-timing-function: linear !important; animation-iteration-count: infinite !important; animation-play-state: running !important; }
@media (hover: hover) { .providers-marquee:hover .providers-marquee .providers-track { animation-play-state: paused !important; } }

/* pbn: conversion pass */
.pj-btn-lg { padding: 1rem 2.2rem; font-size: 1.1rem; }
.pj-band { background: radial-gradient(40rem 18rem at 50% 0%, rgba(var(--pj-gold), .28), transparent 70%), #0f0c13; color: #f6f1e7; padding: 4rem 1rem; border-top: 1px solid rgba(var(--pj-gold), .5); }
.pj-band-in { max-width: 44rem; margin: 0 auto; text-align: center; }
.pj-band .pj-kicker { color: #e9d39b; }
.pj-band p:not(.pj-kicker) { color: rgba(246, 241, 231, .8); }
.pj-band .pj-ghost { color: #f6f1e7; border-color: rgba(246, 241, 231, .35); }
.pj-band .pj-ghost:hover { background: rgba(246, 241, 231, .1); }
.pj-step-n { display: inline-flex; width: 2.6rem; height: 2.6rem; align-items: center; justify-content: center; border-radius: 999px; font-family: Taviraj, Georgia, serif; font-weight: 700; font-size: 1.2rem; color: #17131c; background: linear-gradient(135deg, #f1dea8, #c9a24a 55%, #a8842f); }
.pj-mindful { background: #ece3d1; border-top: 1px solid rgba(var(--pj-gold), .4); padding: 1.1rem 0; color: #3e3448; }

/* pbn: search-topic section */
.pbn-kw { max-width: 48rem; margin: 2.5rem auto 0; padding: 1.5rem 1.25rem; border: 1px solid rgba(128,128,128,.35); border-radius: 14px; line-height: 1.9; }
.pbn-kw h2 { font-size: 1.35rem; font-weight: 700; line-height: 1.4; margin: 0 0 .75rem; }
.pbn-kw h3 { font-size: 1.05rem; font-weight: 700; margin: 1.1rem 0 .25rem; }
.pbn-kw p { margin: .35rem 0; }
.pbn-kw a { text-decoration: underline; font-weight: 600; }

/* pbn: liquid-metal buttons — flowing gold-metal ring, black pill core, press + ripple (static CSS version of the "liquid metal button") */
.pj-btn {
  position: relative; isolation: isolate; overflow: hidden;
  border: 2px solid transparent; border-radius: 999px;
  color: #f3e2b0; font-weight: 600; text-shadow: 0 1px 2px rgba(0, 0, 0, .65);
  background:
    linear-gradient(180deg, #202020 0%, #000 100%) padding-box,
    linear-gradient(115deg,
      #7a5a14 0%, #f6e7b8 6%, #c9a24a 12%, #fff7de 18%, #a8842f 24%, #e9d39b 30%, #6e4f10 38%, #f1dea8 44%, #7a5a14 50%,
      #f6e7b8 56%, #c9a24a 62%, #fff7de 68%, #a8842f 74%, #e9d39b 80%, #6e4f10 88%, #f1dea8 94%, #7a5a14 100%) border-box;
  background-size: 100% 100%, 200% 100%;
  background-position: 0 0, 0% 50%;
  animation: pj-metal 8s linear infinite;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .3), 0 20px 12px -12px rgba(0, 0, 0, .22), 0 9px 9px -6px rgba(0, 0, 0, .18), 0 2px 5px rgba(0, 0, 0, .2);
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s ease;
}
.pj-btn:hover { transform: translateY(-1px); animation-duration: 3.6s;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 12px 6px -6px rgba(0, 0, 0, .06), 0 8px 5px -4px rgba(0, 0, 0, .12), 0 4px 4px rgba(0, 0, 0, .16), 0 1px 2px rgba(0, 0, 0, .2); }
.pj-btn:active { transform: translateY(1px) scale(.98); animation-duration: 1.6s;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 1px 2px rgba(0, 0, 0, .3), inset 0 2px 4px rgba(0, 0, 0, .4); }
@keyframes pj-metal { to { background-position: 0 0, 100% 50%; } }
.pj-ripple { position: absolute; width: 20px; height: 20px; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, 0) 70%); animation: pj-ripple .6s ease-out forwards; }
@keyframes pj-ripple { from { transform: translate(-50%, -50%) scale(0); opacity: .6; } to { transform: translate(-50%, -50%) scale(4); opacity: 0; } }

/* pbn:mobile-nav */
.pj-mnav{display:none}
@media (max-width:767px){
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  .pj-mnav{display:grid;grid-template-columns:repeat(4,1fr) 1.25fr;align-items:center;gap:2px;position:fixed;left:0;right:0;bottom:0;z-index:60;
    padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:rgba(12,12,16,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
    border-top:1px solid rgba(255,255,255,.14)}
  .pj-mnav a.pj-mi{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:48px;padding:4px 2px;border-radius:10px;
    color:rgba(255,255,255,.72);font-size:11px;line-height:1.2;text-decoration:none;-webkit-tap-highlight-color:transparent}
  .pj-mnav a.pj-mi[aria-current="page"]{color:#fff;background:rgba(255,255,255,.12)}
  .pj-mnav a.pj-btn{display:flex;align-items:center;justify-content:center;min-height:44px;margin-left:4px;padding:0 6px!important;font-size:14px!important;white-space:nowrap}
}
