/* Keep the sticky public header attached to the viewport after hash navigation. */
html,
body {
  overflow-x: clip !important;
}

body:not(.app-shell) #form1 {
  padding-top: 82px;
}

body:not(.app-shell) .topbar {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 100 !important;
  width: 100% !important;
}

#discover,
#features,
#reading-experience {
  scroll-margin-top: 88px;
}

@media (max-width: 760px) {
  body:not(.app-shell) #form1 {
    padding-top: calc(68px + env(safe-area-inset-top));
  }

  #discover,
  #features,
  #reading-experience {
    scroll-margin-top: 76px;
  }
}
