:root{--site-header-height:94px;--site-topbar-height:37px;--site-credentials-height:87px}
/* Let content grow; these are minimums, never clipped fixed heights. */
html{scroll-padding-top:var(--site-header-height)}
#main:has(>.hero)>.hero{min-height:calc(100svh - var(--site-topbar-height) - var(--site-header-height) - var(--site-credentials-height))}
#main:has(>.hero)>:is(#selling,#about,#landlords){box-sizing:border-box;min-height:calc(100svh - var(--site-header-height));padding-block:48px}
#main:not(:has(>.hero)){display:flex;flex-direction:column;min-height:calc(100svh - var(--site-topbar-height) - var(--site-header-height))}
#main:not(:has(>.hero))>section:last-of-type{flex-grow:1}
@media(max-width:1100px){:root{--site-header-height:80px;--site-credentials-height:100px}}
@media(max-width:600px){:root{--site-header-height:74px;--site-topbar-height:34px}}

/* Keep navigation destinations aligned below the sticky header. */
@media(max-width:600px){#main:has(>.hero)>:is(#selling,#about,#landlords){padding-block:32px}}

/* The sales section follows its content rather than filling a screen. */
#main:has(>.hero)>#selling{min-height:0}
