The five regions
The middle row and column stretch to fill the remaining space, while top, bottom, start, and end are sized by their content. The start and end names follow CSS logical directions, so they adapt if you ever change writing direction.
Sparse layouts
Regions you leave empty simply collapse, so the same container works for smaller layouts. Here only top, start, and main are used; the bottom row and end column shrink to nothing.
Nested layouts
Because the layout is driven by a class, containers can be nested freely. The main region below holds a second border-layout with its own top, start, and main regions, and the end region of the inner layout stacks a pair of cards.