/* Keep the complete home hero visible in common laptop viewports. */
#hero{min-height:100svh}
#hero>div:nth-of-type(2){padding-top:clamp(5.25rem,11vh,7rem);padding-bottom:clamp(1rem,3vh,1.75rem);gap:clamp(2rem,4vw,3.5rem)}
#hero h1{font-size:clamp(2.8rem,6vh,4rem);line-height:1.03;margin-bottom:1rem}
#hero img[alt^="Animated AI brain"]{width:100%;max-width:480px;max-height:60svh;object-fit:contain}
@media(min-width:1024px) and (max-height:680px){
 #hero>div:nth-of-type(2){padding-top:clamp(4.5rem,10vh,5.75rem);padding-bottom:.9rem;gap:2rem}
 #hero h1{font-size:clamp(2.15rem,5vh,3rem);line-height:1.02;margin-bottom:.7rem}
 #hero img[alt^="Animated AI brain"]{max-width:390px;max-height:49svh}
 #hero>div:nth-of-type(2)>div:first-child>p{margin-bottom:.65rem}
 #hero>div:nth-of-type(2)>div:first-child>p:first-child{margin-bottom:1rem}
 #hero>div:nth-of-type(2)>div:first-child .flex.flex-wrap.gap-3{margin-bottom:1rem}
}
@media(min-width:1024px) and (max-height:560px){
 #hero>div:nth-of-type(2){padding-top:4.25rem;padding-bottom:.5rem}
 #hero h1{font-size:clamp(1.9rem,4.7vh,2.45rem);margin-bottom:.5rem}
 #hero img[alt^="Animated AI brain"]{max-width:350px;max-height:43svh}
 #hero>div:nth-of-type(2)>div:first-child .flex.flex-wrap.gap-2{gap:.35rem}
 #hero>div:nth-of-type(2)>div:first-child .flex.flex-wrap.gap-2 span{padding:.3rem .55rem}
}
@media(max-width:1023px){
 #hero>div:nth-of-type(2){padding-top:7rem;padding-bottom:3rem}
 #hero h1{font-size:clamp(2.5rem,9vw,3.75rem)}
 #hero img[alt^="Animated AI brain"]{max-height:none;max-width:560px}
}
@media(prefers-reduced-motion:reduce){#hero *{scroll-behavior:auto!important}}
