html { scroll-behavior: smooth; }
body.nv-pe-site { overflow-x: hidden; }
body.nv-pe-site img,
body.nv-pe-site video,
body.nv-pe-site svg { max-width: 100%; }
body.nv-pe-site video { display: block; width: 100%; height: 100%; object-fit: cover; background: #050520; }

.nv-pe-nav-shell { position: relative; flex-wrap: nowrap !important; }
.nv-pe-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(10, 10, 30, 0.14);
  border-radius: 6px;
  background: #fff;
  color: #000064;
  cursor: pointer;
}
.nv-pe-menu-icon,
.nv-pe-menu-icon::before,
.nv-pe-menu-icon::after {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}
.nv-pe-menu-icon { position: relative; }
.nv-pe-menu-icon::before { position: absolute; top: -6px; left: 0; }
.nv-pe-menu-icon::after { position: absolute; top: 6px; left: 0; }
.nv-pe-nav-shell[data-open="true"] .nv-pe-menu-icon { background: transparent; }
.nv-pe-nav-shell[data-open="true"] .nv-pe-menu-icon::before { top: 0; transform: rotate(45deg); }
.nv-pe-nav-shell[data-open="true"] .nv-pe-menu-icon::after { top: 0; transform: rotate(-45deg); }
.nv-pe-menu-toggle:focus-visible { outline: 3px solid rgba(54, 45, 254, 0.24); outline-offset: 2px; }
.nv-pe-video-shell { aspect-ratio: 16 / 9 !important; }
.nv-pe-demo-card { min-width: 0; }
.nv-pe-demo-card .nv-form-success { min-height: 370px; }

@media (max-width: 800px) {
  .nv-pe-nav-shell { min-height: 60px !important; padding: 0 18px !important; }
  .nv-pe-menu-toggle { display: inline-flex; }
  .nv-pe-nav-links {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 3;
    flex-direction: column;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 8px 18px 18px;
    border-bottom: 1px solid rgba(10, 10, 30, 0.1);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 35px rgba(10, 10, 30, 0.12);
  }
  .nv-pe-nav-shell[data-open="true"] .nv-pe-nav-links { display: flex !important; }
  .nv-pe-nav-links > a {
    box-sizing: border-box;
    width: 100%;
    margin: 0 !important;
    padding: 13px 4px !important;
    border-bottom: 1px solid rgba(10, 10, 30, 0.08) !important;
  }
  .nv-pe-nav-links > a:last-child {
    margin-top: 10px !important;
    padding: 13px 18px !important;
    border-bottom: 0 !important;
    text-align: center;
  }
  body.nv-pe-site [style*="min-width:320px"] { min-width: 0 !important; }
  body.nv-pe-site [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: minmax(0, 1fr) !important; }
  body.nv-pe-site [style*="grid-template-columns:1.8fr 1fr 1fr"] { min-width: 430px; }
  body.nv-pe-site [style*="grid-template-columns:minmax(112px"] { min-width: 500px; }
  body.nv-pe-site h1,
  body.nv-pe-site h2,
  body.nv-pe-site h3 { overflow-wrap: anywhere; }
  .nv-pe-wide-scroll { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
  .nv-pe-demo-card { padding: 26px 22px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .nv-pe-menu-icon,
  .nv-pe-menu-icon::before,
  .nv-pe-menu-icon::after { transition: none; }
}
