/* The visual hero layout is independent of the AI-managed stylesheet. */
#hero.hero-designed{display:block!important;position:relative!important;padding:24px 0!important;transform:none!important}
#hero .hero-stage{display:block!important;position:relative!important;container-type:inline-size;box-sizing:border-box!important;width:100%!important;max-width:1000px!important;aspect-ratio:var(--hero-ratio-desktop)!important;height:auto!important;min-height:var(--hero-min-height,100vh)!important;margin:0 auto 24px!important;padding:0!important;overflow:hidden!important;background:var(--hero-background)!important;background-size:cover!important;background-position:center!important}
#hero .hero-item{position:absolute!important;display:block!important;box-sizing:border-box!important;left:var(--x-desktop)!important;top:var(--y-desktop)!important;width:var(--w-desktop)!important;height:var(--h-desktop)!important;font-size:var(--font-desktop)!important;margin:0!important;padding:0!important;border:0!important;transform:none!important;overflow:hidden!important;background:none!important;color:var(--hero-color)!important;font-family:var(--hero-font)!important;font-weight:var(--hero-weight)!important;text-align:var(--hero-align)!important;line-height:1.2!important;letter-spacing:normal!important}
#hero .hero-item>h1,#hero .hero-item>p,#hero .hero-item>.hero-text{display:block!important;position:static!important;font:inherit!important;color:inherit!important;text-align:inherit!important;letter-spacing:inherit!important;margin:0!important;padding:0!important;max-width:none!important;width:100%!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;line-height:inherit!important;transform:none!important;background:none!important}
#hero .hero-item>img{display:block!important;position:static!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;border-radius:0!important;margin:0!important;padding:0!important;transform:none!important}
#hero .hero-item::before,#hero .hero-item::after{content:none!important}
@media(max-width:1023px){#hero .hero-stage{max-width:720px!important;aspect-ratio:var(--hero-ratio-tablet)!important}#hero .hero-item{left:var(--x-tablet)!important;top:var(--y-tablet)!important;width:var(--w-tablet)!important;height:var(--h-tablet)!important;font-size:var(--font-tablet)!important}}
@media(max-width:639px){#hero .hero-stage{max-width:360px!important;aspect-ratio:var(--hero-ratio-mobile)!important}#hero .hero-item{left:var(--x-mobile)!important;top:var(--y-mobile)!important;width:var(--w-mobile)!important;height:var(--h-mobile)!important;font-size:var(--font-mobile)!important}}

/* Keep the other sections constrained without constraining the hero itself. */
main.hero-wide-page{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important}
main.hero-wide-page>section:not(#hero){box-sizing:border-box!important;width:calc(100% - 48px)!important;max-width:1004px!important;margin-left:auto!important;margin-right:auto!important}
main.hero-wide-page>#registration{max-width:760px!important}
main.hero-wide-page>#hero{box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
#hero .hero-stage[data-width-mode=full],#hero .hero-stage[data-width-mode=custom]{max-width:var(--hero-max-width)!important}
#hero.hero-designed .hero-actions{display:flex;flex-wrap:wrap;gap:12px;box-sizing:border-box;width:calc(100% - 48px);max-width:1004px;margin:24px auto}

#hero .hero-item:not(.hero-button-container):has(>a[hidden]),#hero .hero-item:empty{display:none!important}
#hero .hero-item>a.button{display:flex!important;box-sizing:border-box!important;align-items:center;justify-content:center;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;padding:8px!important;font:inherit!important;line-height:inherit!important;color:inherit!important;text-align:inherit!important;text-decoration:none;white-space:normal;overflow-wrap:anywhere}
#hero .hero-item>a.button[hidden]{display:none!important}

/* Flow buttons retain pixel sizing at every viewport width. */
#hero .hero-item.hero-button-container{display:flex!important;flex-direction:var(--container-direction)!important;flex-wrap:wrap!important;gap:var(--container-gap)!important;justify-content:var(--container-align)!important;align-items:center!important;align-content:flex-start!important;height:auto!important;overflow:visible!important}
#hero .hero-item.hero-button-container[data-direction=column]{align-items:var(--container-align)!important;flex-wrap:nowrap!important}
#hero .hero-item.hero-button-container>a.hero-flow-button{position:static!important;flex:0 1 auto!important;width:auto!important;height:auto!important;min-width:0!important;max-width:100%!important;padding:var(--button-padding)!important;margin:var(--button-margin)!important;font-size:var(--font-desktop)!important;font-family:var(--hero-font)!important;font-weight:var(--hero-weight)!important;color:var(--hero-color)!important;text-align:var(--hero-align)!important;line-height:1.2!important}
#hero .hero-item.hero-button-container>a.hero-flow-button[hidden]{display:none!important}
#hero .hero-item.hero-button-container:not(:has(>a:not([hidden]))){display:none!important}
@media(max-width:1023px){#hero .hero-item.hero-button-container>a.hero-flow-button{font-size:var(--font-tablet)!important}}
@media(max-width:639px){#hero .hero-item.hero-button-container>a.hero-flow-button{font-size:var(--font-mobile)!important}}

/* Screen height includes an unpinned menu and starts behind a pinned one. */
#hero.hero-designed{padding:0!important;border:0!important}
#hero .hero-stage{margin:0 auto!important}
#hero .hero-stage[data-height-mode=screen]{aspect-ratio:auto!important;min-height:0!important;height:max(0px,calc(var(--hero-screen-height,var(--hero-min-height,100vh)) - var(--hero-menu-space,0px)))!important}
