/* Homepage mobile browse and jump UX. Scoped to the public homepage. */
body.home .nxz-ux-rail-tools,
body.home .nxz-mobile-section-jump{display:none}

@media(max-width:640px){
  body.home .nxpillars,
  body.home .nxcases,
  body.home .nxins{
    display:flex!important;grid-template-columns:none!important;
    gap:14px!important;align-items:stretch;
    overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;
    scroll-padding-inline-start:1px;overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;
    padding:3px 18px 12px 2px!important;margin-right:-14px;
  }
  body.home .nxpillars::-webkit-scrollbar,
  body.home .nxcases::-webkit-scrollbar,
  body.home .nxins::-webkit-scrollbar{display:none}
  body.home .nxpillars>a,
  body.home .nxcases>a,
  body.home .nxins>a{
    flex:0 0 min(calc(100% - 32px),340px)!important;
    min-width:0!important;max-width:none!important;width:auto!important;
    scroll-snap-align:start;scroll-snap-stop:normal;
    align-self:stretch;overflow:hidden;white-space:normal;
    height:auto!important;
  }
  body.home .nxpillars>a *,
  body.home .nxcases>a *,
  body.home .nxins>a *{
    overflow-wrap:anywhere;word-break:normal;
  }
  body.home .nxpillars>a:focus-visible,
  body.home .nxcases>a:focus-visible,
  body.home .nxins>a:focus-visible{
    outline:3px solid #0c79a9;outline-offset:-4px;
  }
  body.home .nxz-ux-rail-tools{
    display:flex;align-items:center;justify-content:flex-end;gap:8px;
    min-height:52px;margin:10px 0 4px;
    color:#40576d;font:750 12px/1.3 Inter,"Segoe UI",Arial,sans-serif;
  }
  body.home .nxdark .nxz-ux-rail-tools{color:#d5e4f1}
  body.home .nxz-ux-rail-hint{margin-right:auto;display:flex;align-items:center;gap:7px}
  body.home .nxz-ux-rail-hint:before{
    content:"\2194";display:inline-block;font-size:19px;font-weight:500;
  }
  body.home .nxz-ux-rail-tools button{
    appearance:none;display:grid;place-items:center;
    width:44px;height:44px;min-width:44px;border-radius:50%;
    border:1px solid #bacddb;background:#fff;color:#092b46;
    font:800 19px/1 Inter,"Segoe UI",Arial,sans-serif;
    cursor:pointer;transition:background .15s ease,border-color .15s ease;
  }
  body.home .nxz-ux-rail-tools button:disabled{opacity:.35;cursor:default}
  body.home .nxz-ux-rail-tools button:not(:disabled):active{
    background:#e8f5fd;border-color:#0c79a9;
  }
  body.home .nxz-ux-rail-tools button:focus-visible{
    outline:3px solid #b6ff00;outline-offset:3px;
  }
  body.home .nxz-ux-rail-status{
    min-width:48px;text-align:center;font-variant-numeric:tabular-nums;
  }
  /* The company story should lead with the explanation, not a tall illustration. */
  body.home .nxcompany{
    display:flex!important;flex-direction:column;gap:22px!important;
  }
  body.home .nxcompany>.nxorgpanel{order:2}
  body.home .nxcompany>.reveal:not(.nxorgpanel){order:1}
  body.home #nx-home-systems,
  body.home #nx-home-compliance,
  body.home #nx-home-industries,
  body.home #nx-home-evidence,
  body.home #nx-home-start{scroll-margin-top:126px}
  body.home .nxz-mobile-section-jump[hidden]{display:none!important}
  body.home .nxz-mobile-section-jump{
    display:block;position:fixed;
    top:calc(84px + env(safe-area-inset-top,0px));right:12px;
    z-index:90;max-width:calc(100vw - 24px);
    font-family:Inter,"Segoe UI",Arial,sans-serif;
  }
  body.home .nxz-mobile-jump-toggle{
    display:grid;grid-template-columns:1fr 18px;column-gap:12px;
    align-items:center;min-height:48px;padding:8px 14px;
    border:1px solid rgba(182,255,0,.55);border-radius:16px;
    background:rgba(4,16,31,.96);color:#fff;
    box-shadow:0 8px 28px rgba(4,16,31,.2);
    cursor:pointer;text-align:left;
  }
  body.home .nxz-mobile-jump-label{
    grid-column:1;font-size:10px;line-height:1.2;
    letter-spacing:.06em;text-transform:uppercase;color:#c5d7e4;
  }
  body.home .nxz-mobile-jump-current{
    grid-column:1;font-size:13px;line-height:1.25;font-weight:800;
  }
  body.home .nxz-mobile-jump-chevron{
    grid-column:2;grid-row:1/3;font-size:20px;color:#b6ff00;
    transition:transform .2s ease;
  }
  body.home .nxz-mobile-jump-toggle[aria-expanded="true"] .nxz-mobile-jump-chevron{
    transform:rotate(180deg)
  }
  body.home .nxz-mobile-jump-panel[hidden]{display:none!important}
  body.home .nxz-mobile-jump-panel{
    display:grid;gap:4px;position:absolute;top:calc(100% + 8px);right:0;
    width:min(284px,calc(100vw - 24px));padding:12px;
    border:1px solid #d0e0ea;border-radius:18px;
    background:#fff;box-shadow:0 16px 40px rgba(4,16,31,.20);
  }
  body.home .nxz-mobile-jump-heading{
    margin:4px 9px 6px;color:#5c6e80;font-size:11px;
    font-weight:800;letter-spacing:.06em;text-transform:uppercase;
  }
  body.home .nxz-mobile-jump-panel>a{
    display:flex;align-items:center;min-height:43px;padding:10px 12px;
    border-radius:10px;color:#0d2c46;text-decoration:none;
    font-size:14px;font-weight:700;line-height:1.4;
  }
  body.home .nxz-mobile-jump-panel>a[aria-current="location"]{
    background:#eff8e0;color:#1c4718;
  }
  body.home .nxz-mobile-jump-panel>a:active{background:#e6f5fc}
  body.home .nxz-mobile-jump-panel>a:focus-visible,
  body.home .nxz-mobile-jump-toggle:focus-visible{
    outline:3px solid #b6ff00;outline-offset:3px;
  }
  body.home:has(.nxz-hdr-toggle[aria-expanded="true"]) .nxz-mobile-section-jump{
    display:none!important;
  }
}
@media(min-width:641px){body.home .nxz-mobile-section-jump{display:none!important}}
@media(prefers-reduced-motion:reduce){
  body.home .nxz-ux-rail-tools button,
  body.home .nxz-mobile-jump-chevron{transition:none}
  body.home .nxpillars,body.home .nxcases,body.home .nxins{
    scroll-behavior:auto!important
  }
}
