/* Monsters of Prior Auth — /resources/something-lurking-workflow-2027-cms-deadline only.
   Everything is scoped under .mpa / mpa- so it never meets webflow.css class names. */
.mpa {
  --mpa-plum: #322045;
  --mpa-plum-ink: #1e1329;
  --mpa-night: #120a1c;
  --mpa-violet: #7439af;
  --mpa-lilac: #c9b5f2;
  --mpa-coral: #fe6e4e;
  --mpa-coral-deep: #c84a2e;
  --mpa-sage: #e7ece4;
  --mpa-bone: #faf9f3;
  --mpa-ink: #19181a;
  --mpa-grey: #545058;
  --mpa-display: "Space Grotesk", system-ui, sans-serif;
  --mpa-body: "DM Sans", system-ui, sans-serif;
  --mpa-gutter: clamp(20px, 4.4vw, 64px);
  display: block;
  font-family: var(--mpa-body);
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--mpa-ink);
}
.mpa *, .mpa *::before, .mpa *::after { box-sizing: border-box; }
.mpa svg { display: block; }
.mpa a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.mpa ::selection { background: var(--mpa-coral); color: var(--mpa-plum-ink); }
body { transition: background-color .7s ease; }

/* ---------- Buttons ---------- */
.mpa-btn { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.85em 1.4em; border-radius: 8px; font-family: var(--mpa-display); font-weight: 700; font-size: 1.1rem; line-height: 1.2; text-decoration: none; background: var(--mpa-lilac); color: var(--mpa-plum) !important; box-shadow: 0 10px 34px -10px rgba(201,181,242,.55); transition: background-color .2s ease, transform .2s cubic-bezier(.2,.8,.2,1); }
.mpa-btn::after { content: ""; width: 0.5em; height: 0.5em; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); margin-left: 0.15em; }
.mpa-btn:hover { background: #ddd0f8; transform: translateY(-1px); }

/* ---------- Hero ---------- */
.mpa-hero {
  position: relative; z-index: 1; isolation: isolate; overflow: hidden;
  min-height: clamp(720px, 100svh, 940px);
  padding: 0 var(--mpa-gutter);
  color: #fff;
  background:
    radial-gradient(60% 70% at 70% 78%, rgba(116,57,175,.55), transparent 70%),
    radial-gradient(40% 40% at 100% 0%, rgba(254,110,78,.18), transparent 70%),
    linear-gradient(160deg, #0d0717 0%, var(--mpa-plum-ink) 40%, var(--mpa-plum) 100%);
}
.mpa-live { cursor: none; }
.mpa-live a, .mpa-live button { cursor: pointer; }
.mpa-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity .8s ease; }
.mpa-live > .mpa-gl { opacity: 1; }
.mpa-network { position: absolute; top: 92px; right: 0; width: clamp(170px, 22vw, 310px); height: auto; z-index: 0; pointer-events: none; }

.mpa-copy { position: relative; z-index: 2; max-width: 1320px; margin: 0 auto; padding: clamp(150px, 19vh, 200px) 0 110px; }
.mpa-copy > * { max-width: 640px; }
.mpa-back { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 34px; font-family: var(--mpa-display); font-weight: 500; font-size: 0.95rem; color: var(--mpa-sage) !important; text-decoration: none; }
.mpa-back::before { content: ""; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.mpa-back:hover { text-decoration: underline; }
.mpa-eyebrow { margin: 0 0 18px; font-family: var(--mpa-display); font-weight: 500; font-size: clamp(0.85rem, 1.1vw, 1.05rem); line-height: 1.3; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mpa-coral); }
.mpa-hero h1 { margin: 0; font-family: var(--mpa-display); font-weight: 700; font-size: clamp(2.5rem, 5.2vw, 4.6rem); line-height: 1.02; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.mpa-hero h1 .mpa-h1-sub { display: block; margin-top: 0.32em; font-size: 0.5em; line-height: 1.12; font-weight: 600; letter-spacing: -0.01em; color: var(--mpa-coral); }
.mpa-rule { display: block; width: 150px; height: 6px; margin: 30px 0 26px; background: var(--mpa-coral); }
.mpa-dek { margin: 0; font-family: var(--mpa-display); font-weight: 500; font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.38; letter-spacing: -0.01em; color: var(--mpa-sage); max-width: 34em; text-wrap: pretty; }
.mpa-byline { margin: 28px 0 0; font-size: 0.95rem; line-height: 1.5; color: rgba(231,236,228,.72); }
.mpa-byline b { color: var(--mpa-sage); font-weight: 600; }
.mpa-byline i { display: inline-block; width: 6px; height: 6px; margin: 0 10px 2px; background: var(--mpa-coral); vertical-align: middle; }

.mpa-anchor { position: absolute; aspect-ratio: 1; pointer-events: none; visibility: hidden; }
.mpa-hero .mpa-anchor { right: 19%; bottom: 17%; width: clamp(172px, 24vw, 345px); }
.mpa-far i { position: absolute; width: 1px; height: 1px; visibility: hidden; }
.mpa-far i:nth-child(1) { top: 40%; right: 6%; }
.mpa-far i:nth-child(2) { bottom: 9%; left: 38%; }
.mpa-far i:nth-child(3) { bottom: 30%; right: 3%; }
.mpa-far i:nth-child(4) { top: 28%; left: 56%; }

.mpa-workflow { position: absolute; z-index: 2; right: clamp(24px, 7vw, 110px); bottom: clamp(18px, 4vh, 44px); display: flex; gap: clamp(28px, 4vw, 64px); margin: 0; padding: 0; list-style: none; pointer-events: none; font-family: var(--mpa-display); font-weight: 500; font-size: 0.95rem; line-height: 1.2; color: var(--mpa-sage); }
.mpa-workflow::before { content: ""; position: absolute; left: 40px; right: 40px; top: 39px; height: 2px; background: rgba(231,236,228,.3); z-index: -1; }
.mpa-workflow li { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; padding: 0; }
.mpa-node { position: relative; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: rgba(116,57,175,.32); }
.mpa-node::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: linear-gradient(#8a4fc7, #4e2577); box-shadow: 0 8px 28px -4px rgba(116,57,175,.7), inset 0 0 0 1.5px rgba(231,236,228,.3); }
.mpa-node svg { position: relative; width: 28px; height: 28px; fill: none; stroke: var(--mpa-sage); stroke-width: 6.4; }
.mpa-risk .mpa-node { background: rgba(254,110,78,.2); }
.mpa-risk .mpa-node::before { background: linear-gradient(#b2452f, #5e1d16); box-shadow: 0 8px 28px -4px rgba(254,110,78,.6), inset 0 0 0 1.5px rgba(231,236,228,.3); }
.mpa-risk.alarm .mpa-node { animation: mpa-alarm .9s cubic-bezier(.2,.8,.2,1) 2; }
@keyframes mpa-alarm { 30% { transform: scale(1.14); background: rgba(254,110,78,.5); } }

.mpa-ghost { position: absolute; left: 0; top: 0; z-index: 4; width: 24px; height: 24px; margin: -2.5px 0 0 -3.5px; pointer-events: none; opacity: 0; transform-origin: 3.5px 2.5px; will-change: transform; }
.mpa-ghost path { fill: #fff; stroke: #120a1c; stroke-width: 1.4; stroke-linejoin: round; }
.mpa-ghost svg { filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); }
.mpa-hint { position: absolute; z-index: 2; margin: 0; font-family: var(--mpa-display); font-size: 0.85rem; letter-spacing: 0.04em; color: rgba(231,236,228,.55); opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.mpa-hint.show { opacity: 1; }

/* ---------- Article ---------- */
.mpa-article { position: relative; z-index: 1; padding: clamp(56px, 8vw, 104px) var(--mpa-gutter) 0; }
.mpa-prose { max-width: 42rem; margin: 0 auto; }
.mpa-prose p { margin: 0 0 1.15em; font-size: 1.1875rem; line-height: 1.65; text-wrap: pretty; color: inherit; }
.mpa-prose .mpa-lede { font-family: var(--mpa-display); font-weight: 500; font-size: clamp(1.45rem, 2.4vw, 1.8rem); line-height: 1.3; letter-spacing: -0.015em; color: var(--mpa-plum); }
.mpa-prose h2 { margin: 2.4em 0 0.7em; padding: 0; font-family: var(--mpa-display); font-weight: 700; font-size: clamp(1.6rem, 2.8vw, 2.15rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--mpa-plum); text-wrap: balance; }
.mpa-prose ul, .mpa-prose ol { margin: 0 0 1.4em; padding: 0; list-style: none; }
.mpa-prose li { font-size: 1.1875rem; line-height: 1.65; }
.mpa-prose ul li { position: relative; padding-left: 1.5em; margin-bottom: 0.55em; }
.mpa-prose ul li::before { content: ""; position: absolute; left: 0.1em; top: 0.62em; width: 0.42em; height: 0.42em; background: var(--mpa-coral); }
.mpa-prose strong { font-weight: 700; color: var(--mpa-plum); }
.mpa-prose .mpa-pull { position: relative; margin: 1.6em 0; padding-top: 0.9em; font-family: var(--mpa-display); font-weight: 700; font-size: clamp(1.5rem, 2.7vw, 2.05rem); line-height: 1.18; letter-spacing: -0.02em; color: var(--mpa-plum); text-wrap: balance; }
.mpa-pull::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 6px; background: var(--mpa-coral); }
.mpa-prose .mpa-beat { font-family: var(--mpa-display); font-weight: 700; font-size: 1.3rem; color: var(--mpa-coral-deep); }
.mpa-steps { counter-reset: mpa-step; }
.mpa-steps li { counter-increment: mpa-step; position: relative; padding: 0 0 0 3.2rem; margin-bottom: 1.25em; }
.mpa-steps li::before { content: counter(mpa-step); position: absolute; left: 0; top: 0.05em; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 50%; background: var(--mpa-plum); color: var(--mpa-sage); font-family: var(--mpa-display); font-weight: 700; font-size: 1rem; line-height: 1; }

.mpa-cta { position: relative; isolation: isolate; overflow: hidden; max-width: 1180px; margin: clamp(64px, 8vw, 112px) auto 0; padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 72px); border-radius: 20px; color: #fff; background: radial-gradient(70% 90% at 85% 100%, rgba(116,57,175,.65), transparent 70%), linear-gradient(150deg, var(--mpa-night), var(--mpa-plum)); }
.mpa-cta-copy { position: relative; z-index: 1; }
.mpa-cta h2 { margin: 0 0 12px; max-width: 16em; font-family: var(--mpa-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.04; letter-spacing: -0.02em; color: #fff; }
.mpa-cta p { margin: 0 0 30px; max-width: 32em; font-size: 1.15rem; line-height: 1.6; color: var(--mpa-sage); }
.mpa-cta .mpa-anchor { right: 11%; bottom: 20%; width: clamp(130px, 14vw, 190px); }

.mpa-faq { max-width: 42rem; margin: clamp(64px, 8vw, 104px) auto 0; padding-bottom: clamp(64px, 8vw, 104px); }
.mpa-faq h2 { margin: 0 0 18px; font-family: var(--mpa-display); font-weight: 700; font-size: clamp(1.6rem, 2.8vw, 2.15rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--mpa-plum); }
.mpa-faq details { border-top: 1px solid rgba(50,32,69,.16); }
.mpa-faq details:last-of-type { border-bottom: 1px solid rgba(50,32,69,.16); }
.mpa-faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--mpa-display); font-weight: 700; font-size: 1.15rem; line-height: 1.35; color: var(--mpa-plum); }
.mpa-faq summary::-webkit-details-marker { display: none; }
.mpa-faq summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--mpa-coral-deep); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.mpa-faq details[open] summary::after { transform: rotate(45deg); }
.mpa-faq details p { margin: 0 0 22px; color: var(--mpa-grey); }
.mpa-nw { white-space: nowrap; }

/* ---------- Night band: midway the page goes dark and something flies past ---------- */
.mpa-sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .7s ease; }
body.mpa-night .mpa-sky { opacity: 1; }
body.mpa-night { background-color: var(--mpa-night, #120a1c); }
body.mpa-night .mpa-article { color: #e7ece4; }
body.mpa-night .mpa-prose .mpa-lede, body.mpa-night .mpa-prose h2, body.mpa-night .mpa-prose .mpa-pull, body.mpa-night .mpa-prose strong, body.mpa-night .mpa-faq h2, body.mpa-night .mpa-faq summary { color: #fff; }
body.mpa-night .mpa-prose .mpa-beat { color: #fe6e4e; }
body.mpa-night .mpa-faq details { border-color: rgba(231,236,228,.2); }
body.mpa-night .mpa-faq details p { color: rgba(231,236,228,.75); }
.mpa-article, .mpa-prose h2, .mpa-prose .mpa-lede, .mpa-pull, .mpa-prose strong, .mpa-faq summary, .mpa-faq h2 { transition: color .7s ease; }

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  .mpa-hero { min-height: 0; }
  .mpa-copy { padding: 130px 0 380px; }
  .mpa-network { display: none; }
  .mpa-hero .mpa-anchor { left: 50%; right: auto; bottom: 120px; width: clamp(126px, 37vw, 196px); transform: translateX(-50%); }
  .mpa-far i:nth-child(1) { top: auto; bottom: 330px; right: 8%; }
  .mpa-far i:nth-child(2) { bottom: 80px; left: 8%; }
  .mpa-far i:nth-child(3) { bottom: 250px; right: auto; left: 18%; }
  .mpa-far i:nth-child(4) { display: none; }
  .mpa-workflow { left: 50%; right: auto; transform: translateX(-50%); gap: 34px; font-size: 0.8rem; }
  .mpa-node { width: 64px; height: 64px; }
  .mpa-node::before { inset: 9px; }
  .mpa-node svg { width: 22px; height: 22px; }
  .mpa-workflow::before { top: 31px; left: 32px; right: 32px; }
  .mpa-cta { padding-bottom: 300px; }
  .mpa-cta .mpa-anchor { left: 50%; right: auto; bottom: 70px; width: 120px; transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .mpa *, .mpa *::before, .mpa *::after, body { animation: none !important; transition: none !important; }
}

/* The site's cursor trail rides the real pointer; inside a creature zone the cursor is a
   decoy the creature can eat, so the trail would give the game away. */
body:has(.mpa-live:hover) .sdm-trail { opacity: 0; }
.mpa-copy h1 { max-width: 760px; }
