/* Homepage only: wider editorial canvas, higher hero and aligned footer.
   Keep animated logo, site sections and the edge App Menu in their own places. */
@media(min-width:1200px){
  #main-page .hero.container{
    width:min(1490px,calc(100% - 2rem));
    padding-left:clamp(125px,10.4vw,176px);
    padding-right:clamp(16px,2.1vw,34px);
    min-height:min(660px,calc(100svh - 185px));
    box-sizing:border-box;
  }
  #main-page .hero{
    grid-template-columns:minmax(0,1fr) minmax(0,1.09fr);
    gap:clamp(1rem,2.3vw,2.8rem);
    padding-block:.25rem 1.4rem;
    align-items:center;
  }
  #main-page .hero-copy-refined{
    padding:.5rem 0 .65rem;
  }
  #main-page .hero-visual.card{
    align-self:center;
  }
  /* This belongs to the fixed module drawer, not the grid. */
  #main-page .app-drawer-bubble-btn{
    position:fixed;left:0;top:110px;
  }
}
@media(min-width:1101px) and (max-width:1199px){
 #main-page .hero.container{
  width:min(1170px,calc(100% - 2rem));
  padding-left:115px;
  padding-right:12px;
 }
 #main-page .hero{
  padding-block:1rem 1.6rem;
  grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);
  gap:1.25rem;
 }
 #main-page .hero-copy-refined{padding:1rem .25rem;}
}
@media(max-width:1100px){
 #main-page .hero.container{width:min(100%,calc(100% - 2rem));}
}
/* Same outer rhythm as the broader marketing and experience pages. */
#main-page .dd-footer>.dd-footer-inner.container{
 width:min(1490px,calc(100% - clamp(2rem,4vw,4.5rem)));
 max-width:none;
 margin-inline:auto;
 box-sizing:border-box;
}
@media(min-width:1101px){
 #main-page .dd-footer>.dd-footer-inner.container{
  padding-inline:clamp(.75rem,1.2vw,1.4rem);
 }
}
@media(max-width:720px){
 #main-page .dd-footer>.dd-footer-inner.container{
  width:calc(100% - 1.5rem);
  padding-inline:.25rem;
 }
}

/* Bigger balanced hero: stay clear of the left module button while allowing
   the headline a little further left and more horizontal breathing room. */
@media(min-width:1200px){
 #main-page .hero.container{
   width:min(1510px,calc(100% - 1.25rem));
   padding-left:clamp(82px,6.5vw,112px);
   padding-right:clamp(14px,1.8vw,28px);
   min-height:0;
 }
 #main-page .hero{
   grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
   gap:clamp(1rem,1.8vw,2.1rem);
   padding-block:1.1rem 1.25rem;
 }
 #main-page .hero-copy-refined{padding:.5rem .25rem .7rem;}
 #main-page .hero-visual.card{margin-top:clamp(10px,1.7vw,26px);}
}
@media(min-width:1101px) and (max-width:1199px){
 #main-page .hero.container{padding-left:clamp(78px,7.3vw,104px);}
 #main-page .hero-visual.card{margin-top:12px;}
}
#main-page .dd-footer>.dd-footer-inner.container,
#main-page .section-browser-native,
#main-page .site-legal-footer>.container{
 width:min(1490px,calc(100% - clamp(1.5rem,3vw,3.5rem)));
 max-width:none;
 margin-inline:auto;
}
#main-page .section-browser-native .collapsible-section.container{
 width:100%;max-width:none;margin-inline:0;
}
@media(max-width:720px){
 #main-page .dd-footer>.dd-footer-inner.container,
 #main-page .section-browser-native,
 #main-page .site-legal-footer>.container{width:calc(100% - 1.25rem);}
}
