Give each landing a readable angle
Film a blocking rehearsal with the person upstairs leaning over the rail only as far as the real performance requires. Check the downstairs person's gaze and walk to the first step.
Inspect the critical frame
Compare one identifiable frame for each role with a frame where they address one another. The wide shot should explain the height difference, even if a closer shot carries the facial performance.
Example framing decision
When an upstairs character passes a note down to a sibling, the pass can remain in the wide shot. The upstairs reaction can be recorded through the open side of the landing.
If both details will not fit
If you need an extreme angle to include both landings, collect identifiable singles from each level and retain the wide for geography. Keep the rail in view if it explains the separation.