/* ===== FLOWZONE — wrapper around hero + stats + logos ===== */
.mf-flowzone{position:relative;overflow:hidden;--spill:0}
.mf-flowzone>*{position:relative;z-index:1}

/* Spill — scroll-animated radial gradient */
.mf-spill{position:absolute;width:1000px;height:640px;right:2%;top:400px;border-radius:50%;pointer-events:none;background:radial-gradient(closest-side,rgba(128,129,248,.55),color-mix(in srgb,rgba(90,140,230,.48) 60%,transparent) 50%,transparent);transform:translate3d(calc(var(--spill)*-260px),calc(var(--spill)*330px),0) scale(calc(1 + var(--spill)*.7),calc(1 - var(--spill)*.35));opacity:calc(.35 + var(--spill)*.65)}
@media(prefers-reduced-motion:reduce){.mf-spill{transform:none;opacity:.18}}

.mf-home-hero{position:relative;overflow:visible;background:#fff;color:#000033;font-family:'Libre Franklin',sans-serif}


.mf-home-hero__inner{position:relative;z-index:1}
.mf-home-hero__inner{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:minmax(0,580px) minmax(0,517px);align-items:center;gap:23px;padding:0 24px;box-sizing:content-box}
.mf-home-hero__copy{padding:80px 0}.mf-home-hero__eyebrow{margin:0 0 8px;color:#fff;font-size:16px;font-weight:600;line-height:19px;letter-spacing:.6px;text-transform:uppercase}.mf-home-hero__heading{margin:0;font-size:48px;line-height:56px;font-weight:600;color:#000033}.mf-home-hero__description{margin-top:35px;font-size:18px;line-height:28px;color:#465464}.mf-home-hero__cta{margin-top:36px}.mf-home-hero__cta a.mf-button-primary{display:inline-flex;width:auto;max-width:100%}.mf-home-hero__pause:focus-visible{outline:3px solid #000033;outline-offset:3px}
.mf-home-hero__visual{position:relative;min-width:0;container-type:inline-size}.mf-home-hero__orbit{width:100%;aspect-ratio:520/540;position:relative}.mf-home-hero__fallback{position:absolute;inset:0;overflow:hidden;background:radial-gradient(ellipse at 72% 28%,#e7edff 0,transparent 65%)}.mf-home-hero__fallback>span{position:absolute;left:50%;top:50%;border:1px solid #afb0fa;border-radius:50%;transform:translate(-50%,-50%);width:42%;aspect-ratio:1}.mf-home-hero__fallback>span:nth-child(2){width:68%}.mf-home-hero__fallback>span:nth-child(3){width:93%}.mf-home-hero__fallback ul{position:absolute;inset:15%;list-style:none;margin:0;padding:0}.mf-home-hero__fallback li{position:absolute;padding:5px 9px;background:white;border-radius:30px;font-size:12px;box-shadow:0 2px 12px #0000331a}.mf-home-hero__fallback li:nth-child(1){top:8%;left:48%}.mf-home-hero__fallback li:nth-child(2){top:33%;left:8%}.mf-home-hero__fallback li:nth-child(3){top:55%;left:70%}.mf-home-hero__fallback li:nth-child(4){top:70%;left:20%}.mf-home-hero__fallback li:nth-child(5){top:88%;left:50%}.mf-home-hero__fallback li:nth-child(6){top:20%;left:75%}.mf-home-hero__pause{display:block;margin:0 auto 16px;padding:6px 10px;border:1px solid #6061f6;border-radius:20px;background:#fff;color:#000033;font:inherit;font-size:12px;cursor:pointer}.mf-home-hero__pause[hidden]{display:none}
@media(max-width:767px){.mf-home-hero__inner{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0 20px}.mf-home-hero__copy{padding:48px 0 20px}.mf-home-hero__heading{font-size:30px;line-height:1.2}.mf-home-hero__description{font-size:16px;line-height:24px;margin-top:24px}.mf-home-hero__cta{margin-top:24px}.mf-home-hero__visual{width:100%;max-width:520px;margin:auto}}

@container (max-width:479px){.mf-home-hero__orbit{aspect-ratio:1}}

/* Explicit section padding replaces the matching default padding on the copy. */
.mf-home-hero--custom-padding-top .mf-home-hero__copy{padding-top:0}
.mf-home-hero--custom-padding-bottom .mf-home-hero__copy{padding-bottom:0}

/* Keep the pause control available to keyboard and assistive technology without changing the layout. */
.mf-home-hero__pause:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.mf-home-hero__pause:focus{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);z-index:10;margin:0}

/* Match the desktop prototype without replacing the ACF spacing controls. */
/* Figma 5047:22430: eyebrow 80 px below the 116 px site header (the theme already adds 8 px above main), hero 610 px tall. */
@media (min-width:1000px){
  .mf-home-hero__inner{grid-template-columns:minmax(0,580px) minmax(0,540px);gap:0;padding-block:0}
  .mf-home-hero__copy{padding:72px 0 80px}
  .mf-home-hero__visual{max-width:520px;justify-self:end;width:100%}
  .mf-home-hero__description{margin-top:35px}
  .mf-home-hero__cta{margin-top:36px}
}
