/* Shared fixes for layout, overflow, focus, and tap size. */

html, body { max-width: 100%; }
body { overflow-x: clip; }

img, video { max-width: 100%; }

.app-shot { max-width: 100%; overflow: hidden; }
.app-shot img, .app-shot video {
  aspect-ratio: 3200 / 2000;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.compare-wrap, .tbl-wrap, .lic-tw {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.annc {
  overflow-wrap: anywhere;
  line-height: 1.45;
  padding: 10px 14px;
}
.annc a { text-underline-offset: 3px; }

.ntrig {
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 8px;
}

@media (max-width: 880px) {
  nav.nav {
    gap: 6px !important;
    padding: 6px 8px !important;
    min-width: 0;
    max-width: 100%;
  }
  .nav .brand {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }
  .nav .brand .bstack, .nav .brand .bwrap { min-width: 0; }
  .nav .nav-cta { flex: 0 0 auto; min-width: 0; }
  .nburger { flex: 0 0 44px; margin-left: 0 !important; }
  .page-hero { padding-left: 20px; padding-right: 20px; }
  .hx-wrap { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 420px) {
  .nav .nav-cta a.lnk { display: none !important; }
  .nav .brand .bbeta { display: none; }
}

.pv7, .pv7-grid, .pv7-left, .pv7-main, .pv7-browser, .pv7-page, .pv7-cv, .pv7-cw {
  max-width: 100%;
  min-width: 0;
}
.pv7-views {
  max-width: 100%;
}
@media (max-width: 900px) {
  .pv7-views {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .pv7-cs, .pv7-cs img { max-width: 100%; }
}

.price-grid { min-width: 0; }
.price-card, .price-card-yearly, .price-card-fiveyear, .price-card-free, .price-card-team {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .price-grid > * { grid-column: 1 / -1 !important; }
}

:where(a, button, input, textarea, select, summary, [role="button"]):focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 3px;
}
.hx :where(a, button, [role="button"]):focus-visible {
  outline-color: #c5f82a;
}

.pe-input, .pe-textarea, .pe-select, .acct input, .contact-form input, .contact-form textarea {
  min-height: 44px;
}
.pe-input::placeholder, .pe-textarea::placeholder, input::placeholder, textarea::placeholder {
  color: #5b6b82;
}

.site-footer a:focus-visible { outline-color: #c5f82a; }

@media (max-width: 640px) {
  .site-footer .sf-grid, .site-footer .foot-grid { grid-template-columns: 1fr 1fr !important; gap: 20px 16px; }
}
@media (max-width: 420px) {
  .site-footer .sf-grid, .site-footer .foot-grid { grid-template-columns: 1fr !important; }
}

.try-bar { box-sizing: border-box; height: 40px; max-height: 40px; }
.try-back, .try-buy {
  height: 100%;
  min-height: 0;
  display: inline-flex;
  align-items: center;
}
