/* =========================================================
   Responsive repair layer
   Keeps the 1366px Figma-aligned desktop layout, but removes
   fixed desktop widths/heights on laptops, tablets and phones.
========================================================= */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.nm-page {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* Compact laptop / tablet landscape: 901px–1200px
   The original Figma layer forced 1110px containers here. */
@media (min-width: 901px) and (max-width: 1200px) {
  .nm-container,
  .nm-topbar-inner,
  .nm-main-header-inner,
  .nm-footer-main-inner,
  .nm-footer-bottom-inner {
    width: min(100% - 48px, 1060px) !important;
    max-width: 1060px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
  }

  .nm-site-header,
  .nm-topbar,
  .nm-main-header,
  .nm-footer,
  .nm-footer-main,
  .nm-footer-bottom,
  #vps-info,
  .nm-workflow,
  .nm-seo-section,
  .nm-calculator,
  .nm-assist {
    height: auto !important;
    min-height: 0 !important;
  }

  .nm-topbar,
  .nm-main-header {
    padding-left: 0 !important;
  }

  .nm-topbar-inner {
    justify-content: flex-end !important;
  }

  .nm-main-header-inner {
    gap: 22px !important;
  }

  .nm-menu {
    gap: 12px !important;
  }

  .nm-menu > li > a {
    font-size: 12px !important;
  }

  .nm-hero {
    min-height: 0 !important;
    padding: 76px 0 86px !important;
  }

  .nm-hero-grid {
    width: min(100% - 48px, 1060px) !important;
    height: auto !important;
    min-height: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 48px !important;
    justify-content: start !important;
    align-items: start !important;
  }

  .nm-hero-grid > div:first-child {
    width: 100% !important;
    max-width: 680px !important;
    padding-top: 0 !important;
  }

  .nm-hero h1,
  .nm-hero-text {
    width: 100% !important;
    max-width: 620px !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .nm-hero-text {
    padding-left: 70px !important;
  }

  .nm-hero-text::before {
    left: 0 !important;
  }

  .nm-hero-actions {
    margin: 0 0 44px 70px !important;
  }

  .nm-hero-features {
    width: 100% !important;
    max-width: 680px !important;
    transform: none !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .nm-feature {
    min-width: 0 !important;
  }

  .nm-hero-art {
    justify-self: start !important;
    width: min(538px, 100%) !important;
    height: 349px !important;
    min-height: 349px !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .nm-hero-export {
    width: 538px !important;
    max-width: none !important;
  }

  #vps-info {
    padding: 72px 0 84px !important;
  }

  #vps-info .nm-section-head,
  .nm-section-head {
    margin-bottom: 38px !important;
  }

  #vps-info .nm-section-title,
  .nm-section-title {
    width: 100% !important;
    max-width: 650px !important;
    height: auto !important;
  }

  .nm-info-grid {
    width: 100% !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .nm-info-card {
    height: auto !important;
    min-height: 298px !important;
  }

  .nm-workflow-card {
    display: grid !important;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
    gap: 54px !important;
    align-items: center !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 86px 0 !important;
    overflow: visible !important;
  }

  .nm-workflow-copy,
  .nm-workflow-steps {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .nm-workflow-title,
  .nm-workflow-copy > p,
  .nm-workflow-step p {
    width: 100% !important;
    max-width: 100% !important;
  }

  .nm-workflow-steps {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
  }

  .nm-workflow-step {
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr) !important;
    gap: 18px !important;
    min-height: 0 !important;
  }

  .nm-workflow-step::before {
    display: none !important;
  }

  .nm-workflow-icon {
    position: static !important;
    left: auto !important;
    width: 42px !important;
    height: 42px !important;
    background-size: 38px 38px !important;
  }

  .nm-workflow-step > div:last-child {
    grid-column: auto !important;
    padding-left: 0 !important;
    min-width: 0 !important;
  }

  .nm-seo-section {
    padding: 86px 0 !important;
  }

  .nm-seo-full-title {
    width: 100% !important;
    max-width: 740px !important;
    margin-bottom: 54px !important;
  }

  .nm-benefit-grid {
    width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 48px !important;
    transform: none !important;
  }

  .nm-benefit-col {
    width: 100% !important;
    gap: 48px !important;
  }

  .nm-benefit-card p,
  .nm-benefit-col:first-child .nm-benefit-card:first-child p,
  .nm-benefit-col:first-child .nm-benefit-card:nth-child(2) p,
  .nm-benefit-col:nth-child(2) .nm-benefit-card p {
    width: auto !important;
    max-width: 100% !important;
  }

  .nm-calculator {
    padding: 74px 0 86px !important;
  }

  .nm-calculator-shell {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 32px !important;
    padding: 30px !important;
  }

  .nm-calc-panel,
  .nm-range-row,
  .nm-range-body,
  .nm-os-grid,
  .nm-os-card,
  .nm-summary-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .nm-summary-card {
    position: relative !important;
    top: auto !important;
    min-height: 0 !important;
  }

  .nm-assist {
    padding: 76px 0 !important;
  }

  .nm-assist::before,
  .nm-assist::after {
    display: none !important;
  }

  .nm-assist-box {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 34px 32px !important;
  }

  .nm-assist-title,
  .nm-assist-text {
    width: auto !important;
    max-width: 660px !important;
    height: auto !important;
  }

  .nm-assist-box .nm-btn {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    min-width: 180px !important;
    height: 42px !important;
  }

  .nm-faq-section {
    padding: 80px 0 !important;
  }

  .nm-faq-section .nm-section-head,
  .nm-faq-grid,
  .nm-faq-section .nm-section-title {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
  }

  .nm-faq-grid {
    gap: 18px !important;
  }

  .nm-footer-main {
    padding: 50px 0 !important;
  }

  .nm-footer-main-inner {
    height: auto !important;
    min-height: 0 !important;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) !important;
    gap: 42px !important;
  }

  .nm-footer-logo,
  .nm-footer-right,
  .nm-footer-col {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .nm-footer-right {
    padding-left: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 32px !important;
  }

  .nm-footer-bottom-inner {
    height: auto !important;
  }
}

/* At 1024 and below the hamburger menu is active. */
@media (min-width: 901px) and (max-width: 1024px) {
  .nm-menu {
    left: 24px !important;
    right: 24px !important;
    top: 71px !important;
    width: auto !important;
    height: auto !important;
    gap: 0 !important;
  }

  .nm-menu > li > a {
    height: auto !important;
    min-height: 0 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    transform: none !important;
  }
}

/* Narrow landscape/tablet: stack denser two-column areas. */
@media (min-width: 901px) and (max-width: 980px) {
  .nm-info-grid,
  .nm-workflow-card,
  .nm-benefit-grid,
  .nm-footer-main-inner,
  .nm-footer-right {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .nm-benefit-col + .nm-benefit-col {
    margin-top: 0 !important;
  }
}

/* Tablet and mobile cleanup below the existing 900px breakpoint. */
@media (max-width: 900px) {
  .nm-container,
  .nm-hero-grid {
    max-width: 100% !important;
  }

  .nm-hero-art {
    overflow: visible !important;
  }

  .nm-summary-card {
    position: relative !important;
    top: auto !important;
  }

  .nm-footer-main-inner,
  .nm-footer-bottom-inner {
    max-width: 100% !important;
  }
}

@media (max-width: 767px) {
  .nm-site-header,
  .nm-footer,
  .nm-footer-main,
  .nm-footer-bottom {
    height: auto !important;
    min-height: 0 !important;
  }

  .nm-footer-main {
    padding: 50px 20px !important;
  }

  .nm-footer-main-inner,
  .nm-footer-bottom-inner {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
  }

  .nm-footer-logo,
  .nm-footer-right,
  .nm-footer-col {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .nm-footer-right {
    padding-left: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 34px !important;
  }

  .nm-footer-col h4 {
    height: auto !important;
    margin-bottom: 22px !important;
  }

  .nm-footer-col li,
  .nm-footer-col a,
  .nm-contact-list li,
  .nm-contact-list a {
    height: auto !important;
    min-height: 18px !important;
  }

  .nm-footer-bottom {
    padding: 0 20px !important;
  }

  .nm-footer-bottom-inner {
    padding: 18px 0 !important;
    line-height: 1.45 !important;
  }
}

@media (max-width: 560px) {
  .nm-hero {
    padding-top: 52px !important;
  }

  .nm-hero-actions {
    gap: 12px !important;
  }

  .nm-hero-actions .nm-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .nm-hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .nm-feature {
    align-items: flex-start !important;
  }

  .nm-range-row {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  .nm-range-icon {
    width: 34px !important;
    height: 34px !important;
  }

  .nm-step {
    white-space: normal !important;
    word-break: keep-all !important;
  }

  .nm-summary-top {
    gap: 14px !important;
  }

  .nm-summary-line,
  .nm-breakdown div,
  .nm-summary-total {
    gap: 12px !important;
  }

  .nm-summary-line strong,
  .nm-breakdown strong,
  .nm-summary-total strong {
    text-align: right !important;
  }
}

@media (max-width: 360px) {
  .nm-hero-art {
    transform: scale(.52) !important;
    transform-origin: top left !important;
    margin-bottom: -158px !important;
  }

  .nm-hero-features,
  .nm-os-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .nm-calculator-shell {
    padding: 18px !important;
  }

  .nm-summary-card {
    padding: 24px 20px !important;
  }

  .nm-mini-server {
    display: none !important;
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .nm-submenu {
    left: auto !important;
    right: 0 !important;
  }
}


/* =========================================================
   Second-pass responsive refinements after QA screenshots
   - smoother hero on medium screens
   - header compaction / earlier mobile menu
   - floating CTA no longer overlaps content
   - stronger FAQ indicators
========================================================= */

/* Make the floating control-panel button stop sitting on top of content. */
@media (max-width: 1400px) {
  .vps-floating-btn {
    top: auto !important;
    bottom: 24px !important;
    right: 16px !important;
    transform: none !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    padding: 12px 16px !important;
    gap: 10px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .vps-floating-btn:hover {
    transform: translateY(-2px) !important;
  }

  .vps-floating-text {
    transform: none !important;
  }
}

@media (max-width: 767px) {
  .vps-floating-btn {
    bottom: 88px !important;
    right: 12px !important;
    padding: 10px 14px !important;
    font-size: 12px !important;
  }

  .vps-floating-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
}

/* Larger tablet / compact desktop range that still needs breathing room. */
@media (min-width: 1201px) and (max-width: 1400px) {
  .nm-container,
  .nm-topbar-inner,
  .nm-main-header-inner,
  .nm-footer-main-inner,
  .nm-footer-bottom-inner {
    width: min(100% - 44px, 1240px) !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
  }

  .nm-site-header,
  .nm-topbar,
  .nm-main-header,
  .nm-footer,
  .nm-footer-main,
  .nm-footer-bottom {
    height: auto !important;
    min-height: 0 !important;
  }

  .nm-topbar,
  .nm-main-header {
    padding-left: 0 !important;
  }

  .nm-topbar-title,
  .nm-topbar-link,
  .nm-language a {
    font-size: 11px !important;
  }

  .nm-main-header-inner {
    gap: 20px !important;
  }

  .nm-logo {
    flex: 0 0 205px !important;
    width: 205px !important;
    height: 95px !important;
    min-height: 95px !important;
    margin-top: -24px !important;
    padding: 42px 10px 18px !important;
  }

  .nm-logo img {
    width: 184px !important;
    max-width: 184px !important;
    height: auto !important;
  }

  .nm-menu {
    gap: 14px !important;
  }

  .nm-menu > li > a {
    min-height: 71px !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
  }

  .nm-hero {
    padding: 64px 0 76px !important;
  }

  .nm-hero-grid {
    width: min(100% - 44px, 1240px) !important;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 470px) !important;
    gap: 34px !important;
    align-items: center !important;
  }

  .nm-hero-grid > div:first-child,
  .nm-hero h1,
  .nm-hero-text {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .nm-hero h1 {
    font-size: clamp(42px, 4.4vw, 56px) !important;
    line-height: 1.08 !important;
    margin-bottom: 18px !important;
  }

  .nm-hero-text {
    margin-bottom: 24px !important;
    padding-left: 0 !important;
    font-size: clamp(14px, 1.15vw, 15px) !important;
    line-height: 1.55 !important;
  }

  .nm-hero-text::before {
    display: none !important;
  }

  .nm-hero-actions {
    margin: 0 0 34px !important;
  }

  .nm-hero-features {
    gap: 14px !important;
    transform: none !important;
  }

  .nm-feature strong {
    font-size: 12px !important;
  }

  .nm-feature span {
    font-size: 10px !important;
  }

  .nm-hero-art {
    justify-self: end !important;
    align-self: center !important;
    width: min(100%, 470px) !important;
    max-width: 470px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    aspect-ratio: 538 / 349 !important;
    overflow: visible !important;
  }

  .nm-hero-export {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: left top !important;
  }

  .nm-hero-database-export {
    left: 32.2% !important;
    top: 33.8% !important;
    width: 12.5% !important;
    height: auto !important;
  }

  .nm-seo-full-title,
  .nm-section-title,
  .nm-workflow-title,
  .nm-faq-section .nm-section-title {
    font-size: clamp(30px, 2.5vw, 36px) !important;
    line-height: 1.18 !important;
  }

  .nm-calculator {
    padding: 74px 0 86px !important;
  }

  .nm-calculator-shell {
    grid-template-columns: minmax(0, 1fr) 340px !important;
    gap: 24px !important;
    padding: 28px !important;
  }

  .nm-summary-card {
    min-width: 0 !important;
    padding: 28px 22px !important;
  }

  .nm-summary-top h3 {
    font-size: 21px !important;
  }
}

/* Use the burger menu a bit earlier so the header never overflows. */
@media (max-width: 1280px) {
  .nm-site-header,
  .nm-topbar,
  .nm-main-header {
    height: auto !important;
    min-height: 0 !important;
  }

  .nm-topbar,
  .nm-main-header {
    padding-left: 0 !important;
  }

  .nm-topbar-inner,
  .nm-main-header-inner {
    width: min(100% - 40px, 1240px) !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .nm-topbar-inner {
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
  }

  .nm-topbar-title,
  .nm-topbar-link,
  .nm-language a {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }

  .nm-main-header-inner {
    min-height: 71px !important;
    gap: 18px !important;
  }

  .nm-logo {
    flex: 0 0 188px !important;
    width: 188px !important;
    height: 90px !important;
    min-height: 90px !important;
    margin-top: -19px !important;
    padding: 36px 10px 14px !important;
  }

  .nm-logo img {
    width: 168px !important;
    max-width: 168px !important;
  }

  .nm-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .nm-nav-wrap {
    justify-content: flex-end !important;
  }

  .nm-menu {
    display: none !important;
    position: absolute !important;
    left: 20px !important;
    right: 20px !important;
    top: 71px !important;
    width: auto !important;
    height: auto !important;
    max-height: min(70vh, 620px) !important;
    overflow-y: auto !important;
    padding: 8px 0 !important;
    background: #cccccc !important;
    border-radius: 2px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    white-space: normal !important;
    z-index: 90 !important;
  }

  .nm-menu.is-open {
    display: flex !important;
  }

  .nm-menu > li > a {
    min-height: auto !important;
    height: auto !important;
    padding: 11px 15px !important;
    color: #000 !important;
    display: flex !important;
    width: 100% !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    transform: none !important;
  }

  .nm-menu > li > a:hover,
  .nm-menu > li > a.is-active {
    color: #fff !important;
    background: #000 !important;
  }

  .nm-submenu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: none !important;
    margin: 0 0 6px 15px !important;
    min-width: 0 !important;
    background: #e3e3e3 !important;
  }

  .nm-menu > li:hover > .nm-submenu,
  .nm-menu > li.is-open > .nm-submenu {
    display: block !important;
  }
}

/* Make the hero cleaner and more proportional on laptop widths too. */
@media (min-width: 901px) and (max-width: 1200px) {
  .nm-hero h1 {
    font-size: clamp(38px, 4.3vw, 50px) !important;
    line-height: 1.08 !important;
  }

  .nm-hero-text {
    padding-left: 0 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .nm-hero-text::before {
    display: none !important;
  }

  .nm-hero-actions {
    margin-left: 0 !important;
  }

  .nm-hero-art {
    width: min(100%, 430px) !important;
    max-width: 430px !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 538 / 349 !important;
    overflow: visible !important;
  }

  .nm-hero-export {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: left top !important;
  }

  .nm-hero-database-export {
    left: 32.2% !important;
    top: 33.8% !important;
    width: 12.5% !important;
    height: auto !important;
  }
}

/* Tighter mobile polish. */
@media (max-width: 900px) {
  .nm-hero h1 {
    font-size: clamp(32px, 8vw, 44px) !important;
    line-height: 1.08 !important;
  }

  .nm-hero-text {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  .nm-hero-art {
    margin: 0 auto !important;
    width: min(100%, 430px) !important;
    max-width: 430px !important;
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 538 / 349 !important;
    transform: none !important;
  }

  .nm-hero-export {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: left top !important;
  }

  .nm-hero-database-export {
    left: 32.2% !important;
    top: 33.8% !important;
    width: 12.5% !important;
    height: auto !important;
  }
}

/* FAQ indicator: keep it visible at all sizes. */
.nm-faq-item summary {
  padding-right: 58px !important;
}

.nm-faq-item summary::after {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  right: 20px !important;
  top: 50% !important;
  opacity: 1 !important;
  border-top-width: 3px !important;
  border-right-width: 3px !important;
  pointer-events: none !important;
}


/* Decorative side geometry: let the right-side visual sit flush to the viewport edge. */
@media (min-width: 901px) {
  .nm-assist {
    overflow: visible !important;
  }

  .nm-assist::before {
    left: auto !important;
    right: 130px !important;
    top: 82px !important;
    width: 1px !important;
    height: 64px !important;
  }

  .nm-assist::after {
    left: auto !important;
    right: 0 !important;
    top: 82px !important;
    width: 90px !important;
    height: 64px !important;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .nm-assist::before,
  .nm-assist::after {
    display: none !important;
  }
}


/* =========================================================
   Final content responsive cleanup (v3)
   Keeps the header fix, but prevents content/decor blocks from
   escaping the viewport on browser zoom / compact desktop widths.
========================================================= */

html,
body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.nm-page,
.nm-site-header,
.nm-hero,
#vps-info,
.nm-section,
.nm-workflow,
.nm-seo-section,
.nm-calculator,
.nm-assist,
.nm-faq-section,
.nm-footer {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

@media (max-width: 1400px) {
  .nm-container,
  .nm-topbar-inner,
  .nm-main-header-inner,
  .nm-footer-main-inner,
  .nm-footer-bottom-inner {
    width: min(100% - 48px, 1180px) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
  }

  /* Hide desktop-only side decorations that were landing inside content
     when the browser was zoomed to 140–160%. */
  .nm-hero::before,
  .nm-assist::before,
  .nm-assist::after {
    display: none !important;
  }

  .nm-hero {
    padding: clamp(54px, 5vw, 72px) 0 clamp(64px, 5vw, 82px) !important;
  }

  .nm-hero-grid {
    width: min(100% - 48px, 1180px) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 470px) !important;
    gap: clamp(28px, 4vw, 54px) !important;
    align-items: center !important;
  }

  .nm-hero-grid > div:first-child,
  .nm-hero h1,
  .nm-hero-text {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .nm-hero h1 {
    font-size: clamp(40px, 4.25vw, 56px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 18px !important;
  }

  .nm-hero-text {
    padding-left: 0 !important;
    margin-bottom: 26px !important;
    font-size: clamp(14px, 1.12vw, 15px) !important;
    line-height: 1.55 !important;
  }

  .nm-hero-text::before {
    display: none !important;
  }

  .nm-hero-actions {
    margin: 0 0 34px !important;
  }

  .nm-hero-actions .nm-btn {
    min-width: 170px !important;
  }

  .nm-hero-features {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    transform: none !important;
  }

  .nm-feature {
    min-width: 0 !important;
  }

  .nm-feature strong {
    font-size: 12px !important;
  }

  .nm-feature span {
    font-size: 10px !important;
  }

  .nm-hero-art {
    justify-self: end !important;
    width: min(100%, 470px) !important;
    max-width: 470px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    aspect-ratio: 538 / 349 !important;
    overflow: visible !important;
    transform: none !important;
  }

  .nm-hero-export {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: left top !important;
  }

  .nm-hero-database-export {
    left: 32.2% !important;
    top: 33.8% !important;
    width: 12.5% !important;
    height: auto !important;
  }

  .nm-info-grid,
  .nm-benefit-grid,
  .nm-faq-grid,
  .nm-calculator-shell,
  .nm-footer-main-inner,
  .nm-footer-right {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
  }

  .nm-info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
  }

  .nm-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: clamp(36px, 5vw, 68px) !important;
    row-gap: 56px !important;
  }

  .nm-benefit-col {
    width: 100% !important;
    gap: 64px !important;
  }

  .nm-benefit-card,
  .nm-benefit-card p,
  .nm-benefit-col:first-child .nm-benefit-card:first-child p,
  .nm-benefit-col:first-child .nm-benefit-card:nth-child(2) p,
  .nm-benefit-col:nth-child(2) .nm-benefit-card p {
    width: auto !important;
    max-width: 100% !important;
  }

  .nm-faq-section .nm-section-head,
  .nm-faq-section .nm-section-title {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
  }

  .nm-faq-grid {
    gap: 18px !important;
  }

  .nm-faq-item,
  .nm-faq-item summary {
    width: 100% !important;
    max-width: 100% !important;
  }

  .nm-calculator-shell {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 350px) !important;
    gap: 24px !important;
    padding: 28px !important;
  }

  .nm-calc-panel,
  .nm-range-row,
  .nm-range-body,
  .nm-steps,
  .nm-os-grid,
  .nm-summary-card {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .nm-summary-card {
    padding: 28px 22px !important;
  }

  .nm-assist-box {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Keep the floating VPS panel from covering content and from overlapping
     the Crisp chat bubble. */
  .vps-floating-btn {
    top: auto !important;
    right: 92px !important;
    bottom: 24px !important;
    transform: none !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    border-radius: 999px !important;
    padding: 12px 16px !important;
    max-width: calc(100vw - 130px) !important;
    overflow: hidden !important;
  }

  .vps-floating-btn:hover {
    transform: translateY(-2px) !important;
  }

  .vps-floating-text {
    transform: none !important;
    max-width: 150px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

@media (max-width: 1200px) {
  .nm-hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
  }

  .nm-hero-grid > div:first-child {
    max-width: 760px !important;
  }

  .nm-hero-art {
    justify-self: center !important;
    width: min(100%, 520px) !important;
    max-width: 520px !important;
    margin-top: 26px !important;
  }

  .nm-calculator-shell {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .nm-summary-card {
    position: relative !important;
    top: auto !important;
  }
}

@media (max-width: 980px) {
  .nm-info-grid,
  .nm-benefit-grid,
  .nm-footer-main-inner,
  .nm-footer-right {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .nm-benefit-card p,
  .nm-benefit-col:first-child .nm-benefit-card:first-child p,
  .nm-benefit-col:first-child .nm-benefit-card:nth-child(2) p,
  .nm-benefit-col:nth-child(2) .nm-benefit-card p {
    margin-left: 0 !important;
  }
}

@media (max-width: 767px) {
  .nm-container,
  .nm-topbar-inner,
  .nm-main-header-inner,
  .nm-footer-main-inner,
  .nm-footer-bottom-inner,
  .nm-hero-grid {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
  }

  .nm-hero h1 {
    font-size: clamp(31px, 9vw, 40px) !important;
  }

  .nm-hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .nm-hero-actions .nm-btn {
    width: 100% !important;
    min-width: 0 !important;
  }

  .vps-floating-btn {
    right: 84px !important;
    bottom: 18px !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    justify-content: center !important;
  }

  .vps-floating-text {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .nm-hero-features {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* =========================================================
   Final responsive pass from QA screenshots
   1) compact hero: hide artwork when it no longer fits
   2) footer logo: keep away from viewport edge
   3) burger menu: extra CSS hook for reliable opening
========================================================= */

/* Pure CSS backup hook used by JS: .nm-nav-wrap.nm-menu-open */
@media (max-width: 1280px) {
  .nm-nav-wrap.nm-menu-open #nmMainMenu,
  .nm-nav-wrap.nm-menu-open .nm-menu,
  .nm-menu.is-open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .nm-menu-toggle {
    position: relative !important;
    z-index: 120 !important;
  }

  /* Footer logo should not touch/crop against the left edge on responsive/zoomed views. */
  .nm-footer-main {
    overflow: hidden !important;
  }

  .nm-footer-logo {
    padding-left: clamp(26px, 5vw, 72px) !important;
    padding-right: 24px !important;
    overflow: visible !important;
  }

  .nm-footer-logo img {
    max-width: min(240px, 70vw) !important;
    height: auto !important;
  }
}

/* Once the right-side illustration cannot sit naturally beside the hero copy,
   remove it completely and make the hero a centered text-first block. */
@media (max-width: 1200px) {
  .nm-hero {
    padding: clamp(54px, 8vw, 86px) 0 clamp(58px, 8vw, 92px) !important;
  }

  .nm-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(100% - 44px, 960px) !important;
    max-width: 960px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    text-align: center !important;
  }

  .nm-hero-grid > div:first-child {
    width: 100% !important;
    max-width: 920px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .nm-hero h1,
  .nm-hero-text {
    width: 100% !important;
    max-width: 920px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .nm-hero h1 {
    font-size: clamp(42px, 6vw, 62px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.6px !important;
  }

  .nm-hero-text {
    max-width: 760px !important;
    padding-left: 0 !important;
  }

  .nm-hero-text::before {
    display: none !important;
  }

  .nm-hero-actions {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .nm-hero-features {
    width: min(100%, 820px) !important;
    max-width: 820px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
  }

  .nm-feature {
    justify-content: center !important;
    text-align: left !important;
  }

  .nm-hero-art {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .nm-hero-grid {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
  }

  .nm-hero h1 {
    font-size: clamp(32px, 10vw, 44px) !important;
  }

  .nm-hero-actions {
    width: min(100%, 430px) !important;
  }

  .nm-hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .nm-footer-logo {
    padding-left: 24px !important;
  }
}


/* =========================================================
   V5 targeted fix
   - hard stop horizontal overflow on footer/content
   - keep footer logo inside viewport with real padding
   - reliable menu visible state
========================================================= */
html,
body,
.nm-page {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.nm-page,
.nm-site-header,
.nm-hero,
.nm-section,
.nm-workflow,
.nm-seo-section,
.nm-calculator,
.nm-assist,
.nm-faq-section,
.nm-footer {
  max-width: 100vw !important;
  overflow-x: clip !important;
}

/* Burger menu visible state must work even if previous responsive rules conflict. */
@media (max-width: 1280px) {
  .nm-nav-wrap.nm-menu-open .nm-menu,
  .nm-nav-wrap.nm-menu-open #nmMainMenu,
  #nmMainMenu.is-open,
  .nm-menu.is-open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  #nmMainMenu,
  .nm-menu {
    z-index: 999 !important;
  }
}

/* Footer: override Figma fixed 1110px/left-offset footer rules on zoomed and responsive widths. */
@media (max-width: 1600px) {
  .nm-footer,
  .nm-footer-main,
  .nm-footer-bottom {
    width: 100% !important;
    max-width: 100vw !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .nm-footer-main {
    padding: clamp(46px, 5vw, 64px) 0 !important;
  }

  .nm-footer-main-inner,
  .nm-footer-bottom-inner {
    width: min(100% - 64px, 1110px) !important;
    max-width: 1110px !important;
    height: auto !important;
    min-height: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    transform: none !important;
  }

  .nm-footer-main-inner {
    display: grid !important;
    grid-template-columns: minmax(220px, .9fr) minmax(0, 1.1fr) !important;
    gap: clamp(36px, 6vw, 84px) !important;
    align-items: start !important;
  }

  .nm-footer-logo,
  .nm-footer-right,
  .nm-footer-col {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
  }

  .nm-footer-logo {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
  }

  .nm-footer-logo a {
    display: inline-block !important;
    max-width: 100% !important;
  }

  .nm-footer-logo img {
    display: block !important;
    width: min(262px, 100%) !important;
    max-width: min(262px, 70vw) !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  .nm-footer-right {
    padding-left: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(28px, 5vw, 56px) !important;
  }

  .nm-footer-col h4,
  .nm-footer-col li,
  .nm-footer-col a,
  .nm-contact-list li,
  .nm-contact-list a {
    height: auto !important;
    min-height: 0 !important;
  }
}

@media (max-width: 980px) {
  .nm-footer-main-inner {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 38px !important;
  }

  .nm-footer-logo {
    text-align: left !important;
  }

  .nm-footer-right {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 767px) {
  .nm-footer-main-inner,
  .nm-footer-bottom-inner {
    width: calc(100% - 40px) !important;
    max-width: calc(100% - 40px) !important;
  }

  .nm-footer-logo img {
    width: min(220px, 100%) !important;
    max-width: 100% !important;
  }
}


/* =========================================================
   Header logo-only responsive fix
   Do not change layout/content; only prevent the logo block
   from becoming too tall or covering the header on responsive.
========================================================= */

@media (max-width: 1280px) {
  .nm-main-header {
    overflow: visible !important;
  }

  .nm-main-header-inner {
    min-height: 72px !important;
  }

  .nm-logo {
    flex: 0 0 clamp(168px, 18vw, 210px) !important;
    width: clamp(168px, 18vw, 210px) !important;
    height: 72px !important;
    min-height: 72px !important;
    margin-top: 0 !important;
    padding: 10px 14px !important;
    align-self: stretch !important;
  }

  .nm-logo img {
    width: min(100%, 178px) !important;
    max-width: 178px !important;
    height: auto !important;
    max-height: 38px !important;
    object-fit: contain !important;
  }
}

@media (max-width: 767px) {
  .nm-main-header {
    min-height: 66px !important;
    padding-left: 0 !important;
    padding-right: 12px !important;
  }

  .nm-main-header-inner {
    min-height: 66px !important;
  }

  .nm-logo {
    flex: 0 0 154px !important;
    width: 154px !important;
    height: 66px !important;
    min-height: 66px !important;
    margin-top: 0 !important;
    padding: 9px 12px !important;
  }

  .nm-logo img {
    width: 132px !important;
    max-width: 132px !important;
    max-height: 32px !important;
  }

  .nm-menu-toggle {
    width: 42px !important;
    height: 42px !important;
    margin-left: auto !important;
  }

  .nm-menu {
    top: 66px !important;
  }
}

@media (max-width: 420px) {
  .nm-logo {
    flex-basis: 136px !important;
    width: 136px !important;
    padding: 8px 10px !important;
  }

  .nm-logo img {
    width: 118px !important;
    max-width: 118px !important;
  }
}

@media (max-width: 340px) {
  .nm-logo {
    flex-basis: 124px !important;
    width: 124px !important;
  }

  .nm-logo img {
    width: 108px !important;
    max-width: 108px !important;
  }
}


/* =========================================================
   Logo desktop/tablet correction
   v6 intentionally fixed mobile logo overlap, but the same
   rule was too wide. Keep mobile safe; restore desktop-style
   yellow logo extension from 768px upward.
========================================================= */

@media (min-width: 768px) and (max-width: 1280px) {
  .nm-topbar {
    min-height: 30px !important;
    height: 30px !important;
  }

  .nm-main-header,
  .nm-main-header-inner {
    min-height: 71px !important;
    height: 71px !important;
  }

  .nm-logo {
    flex: 0 0 226px !important;
    width: 226px !important;
    height: 101px !important;
    min-height: 101px !important;
    margin-top: -30px !important;
    padding: 50px 8px 24px !important;
    align-self: stretch !important;
  }

  .nm-logo img {
    width: 210px !important;
    max-width: 210px !important;
    height: 27px !important;
    max-height: none !important;
    object-fit: contain !important;
  }
}

@media (min-width: 768px) and (max-width: 980px) {
  .nm-logo {
    flex-basis: 205px !important;
    width: 205px !important;
  }

  .nm-logo img {
    width: 186px !important;
    max-width: 186px !important;
  }
}

/* Mobile keeps the safe non-overlapping logo from v6. */
@media (max-width: 767px) {
  .nm-logo {
    margin-top: 0 !important;
  }
}

/* =========================================================
   v8: logo top-bar yellow follow fix
   Keep all previous responsive behavior. Only change the logo
   construction on tablet/desktop: the logo stays inside the
   main header, while a yellow background layer extends upward
   over the topbar. This avoids the dark gap/line on scaled views.
========================================================= */

@media (min-width: 768px) {
  .nm-topbar {
    height: 30px !important;
    min-height: 30px !important;
  }

  .nm-main-header,
  .nm-main-header-inner {
    height: 71px !important;
    min-height: 71px !important;
  }

  .nm-logo {
    position: relative !important;
    z-index: 80 !important;
    flex: 0 0 226px !important;
    width: 226px !important;
    height: 71px !important;
    min-height: 71px !important;
    margin-top: 0 !important;
    padding: 20px 8px 24px !important;
    align-self: stretch !important;
    overflow: visible !important;
    background: transparent !important;
  }

  .nm-logo::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: -30px !important;
    bottom: 0 !important;
    display: block !important;
    background: #FDE511 !important;
    z-index: 0 !important;
    pointer-events: none !important;
  }

  .nm-logo img {
    position: relative !important;
    z-index: 1 !important;
    width: 210px !important;
    max-width: 210px !important;
    height: 27px !important;
    max-height: none !important;
    object-fit: contain !important;
  }
}

@media (min-width: 768px) and (max-width: 980px) {
  .nm-logo {
    flex-basis: 205px !important;
    width: 205px !important;
  }

  .nm-logo img {
    width: 186px !important;
    max-width: 186px !important;
  }
}

@media (max-width: 767px) {
  .nm-logo::before {
    display: none !important;
  }
}

/* =========================================================
   Workflow icons mobile parity
   Keep the same custom desktop image icons in the “რისთვის გამოვიყენო?”
   section on tablet/mobile too. This overrides the inline fallback SVG icons.
========================================================= */
@media (max-width: 900px) {
  .nm-workflow .nm-workflow-icon {
    position: static !important;
    left: auto !important;
    top: auto !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    display: block !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--nm-primary) !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: 38px 38px !important;
  }

  .nm-workflow .nm-workflow-step:nth-child(1) .nm-workflow-icon {
    background-image: url("../images/use-web-service.svg") !important;
  }

  .nm-workflow .nm-workflow-step:nth-child(2) .nm-workflow-icon {
    background-image: url("../images/use-vpn.svg") !important;
  }

  .nm-workflow .nm-workflow-step:nth-child(3) .nm-workflow-icon {
    background-image: url("../images/use-ai-platform.svg") !important;
  }

  .nm-workflow .nm-workflow-step:nth-child(4) .nm-workflow-icon {
    background-image: url("../images/use-office-infrastructure.svg") !important;
  }

  .nm-workflow .nm-workflow-icon > * {
    display: none !important;
  }
}


/* =========================================================
   Header menu fit correction
   Keep full desktop menu visible at 1024px where there is
   enough horizontal space. Burger starts only on narrower
   tablet/mobile widths.
========================================================= */

@media (min-width: 981px) and (max-width: 1280px) {
  .nm-menu-toggle {
    display: none !important;
  }

  .nm-nav-wrap {
    justify-content: flex-end !important;
  }

  .nm-menu {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: clamp(8px, 1vw, 14px) !important;
    white-space: nowrap !important;
  }

  .nm-menu > li > a {
    width: auto !important;
    min-height: 71px !important;
    height: 71px !important;
    padding: 0 !important;
    color: #fff !important;
    background: transparent !important;
    font-size: clamp(10px, 1.05vw, 12px) !important;
    line-height: 1.15 !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .nm-menu > li > a:hover,
  .nm-menu > li > a.is-active {
    color: var(--nm-primary) !important;
    background: transparent !important;
  }

  .nm-submenu {
    position: absolute !important;
    left: 0 !important;
    top: calc(100% + 5px) !important;
    min-width: 180px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #cccccc !important;
    border-radius: 2px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(8px) !important;
    display: block !important;
  }

  .nm-menu > li:hover > .nm-submenu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  .nm-submenu a {
    color: #000 !important;
  }

  .nm-submenu a:hover {
    color: #fff !important;
    background: #000 !important;
  }
}

@media (min-width: 981px) and (max-width: 1080px) {
  .nm-logo {
    flex-basis: 205px !important;
    width: 205px !important;
  }

  .nm-logo img {
    width: 186px !important;
    max-width: 186px !important;
  }

  .nm-menu {
    gap: 9px !important;
  }

  .nm-menu > li > a {
    font-size: 10.5px !important;
    letter-spacing: -0.15px !important;
  }
}

/* Burger remains for real tablet/mobile widths. */
@media (max-width: 980px) {
  .nm-menu-toggle {
    display: inline-flex !important;
  }

  .nm-menu {
    display: none !important;
  }

  .nm-menu.is-open {
    display: flex !important;
  }
}
