@media (max-width: 1100px) {
  .g4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .nav-d {
    display: none;
  }
  .nav-m {
    display: inline-flex;
  }
  .ml {
    max-width: none;
  }
}
@media (max-width: 820px) {
  .g2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .sec {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }
  .les {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .g4 {
    grid-template-columns: minmax(0, 1fr);
  }
  .hide-sm {
    display: none !important;
  }
}

/* Mobile refinements: header, utility bar, footer */
@media (max-width: 600px) {
  .utility-bar__row-gap-20 {
    display: none;
  }
  .utility-bar__row-gap-24 {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .utility-bar .hide-sm.utility-bar__link {
    display: inline !important;
  }
  .header__row {
    height: 68px;
  }
  .header__link {
    width: 150px;
    height: 38px;
  }
  #menu-toggle {
    width: 44px;
    height: 44px;
  }
  .mobile-nav {
    max-height: calc(100vh - 68px);
    max-height: calc(100dvh - 68px);
  }
}

/* Pricing table becomes stacked cards on small screens */
@media (max-width: 820px) {
  .pt {
    min-width: 0;
  }
  .pt thead {
    display: none;
  }
  .pt,
  .pt tbody,
  .pt tr,
  .pt td {
    display: block;
    width: 100%;
  }
  .pt tr {
    padding: 8px 0;
    border-bottom: 1px solid #e3e7ec;
  }
  .pt td {
    padding: 10px 18px;
    border-bottom: 0;
  }
  .pt td:nth-child(2)::before,
  .pt td:nth-child(3)::before {
    display: block;
    margin-bottom: 8px;
    font:
      700 11px Manrope,
      sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5a6573;
  }
  .pt td:nth-child(2)::before {
    content: 'Individual License';
  }
  .pt td:nth-child(3)::before {
    content: 'Team Licensing';
  }
  .pt tr:hover td {
    background: transparent;
  }
}

@media (max-width: 960px) {
  .footer .fl a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
  }
}
