/* NIV marketing / horizontal-scroll stability. No brand or layout redesign.
   The document scrolls vertically; only the named rails may scroll sideways.
   overflow-x:clip avoids creating an unintended scrolling ancestor for the
   sticky header, unlike overflow-x:hidden. */
html:has(> body#niv-marketing-site.ns-public) {
  width:100%;
  max-width:100%;
  overflow-x:clip!important;
  overscroll-behavior-x:none;
}
body#niv-marketing-site.ns-public {
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:clip!important;
  overscroll-behavior-x:none!important;
}
#niv-marketing-site.ns-public :is(main,.ns-home,.nch-home,.nch-shell,
  .nch-hero,.nch-explore,.nch-outro,.nix-page,.nix-shell,
  .np-showcase,.ns-wrap,.ns-production) {
  max-width:100%;
  min-width:0;
}
#niv-marketing-site.ns-public :is(.nch-path-grid,.nix-chip-rail,
  .np-industry-links) {
  max-width:100%;
  min-width:0;
  overscroll-behavior-x:contain;
  scroll-snap-type:x proximity!important;
  -webkit-overflow-scrolling:touch;
}
/* Emil Kowalski-inspired restraint: readable 8px spacing rhythm and
   non-jarring interactions. Preserve existing layout, type and palette. */
#niv-marketing-site.ns-public .nch-hero-intro[data-niv-offer] .nch-lead {
  margin-top:24px!important;
}
#niv-marketing-site.ns-public .nch-hero-intro[data-niv-offer] .nch-offer {
  margin-top:16px!important;
}
#niv-marketing-site.ns-public .nch-hero-intro[data-niv-offer] .nch-hero-actions {
  margin-top:24px!important;
}
#niv-marketing-site.ns-public .nch-hero-intro[data-niv-offer] .nch-disclosure {
  margin-top:24px!important;
}
#niv-marketing-site.ns-public .nch-gallery-header {
  padding-top:16px;
  padding-bottom:16px;
}
#niv-marketing-site.ns-public .nch-gallery-controls button {
  transition:background-color 150ms ease;
}
@media (pointer:coarse) {
  /* The desktop retains atmospheric motion; touch browsing stays solid. */
  #niv-marketing-site.ns-public .nch-datastream{opacity:.22}
}
@media (prefers-reduced-motion:reduce) {
  #niv-marketing-site.ns-public .nch-gallery-controls button {
    transition:none!important;
  }
  #niv-marketing-site.ns-public .nch-datastream {
    display:none!important;
  }
}
