/* Narrow, audited corrections; the captured responsive design stays in charge. */
@media (max-width: 1199.98px) {
  :is([data-framer-name="Mobile - menu open"], [data-framer-name="Tablet - open"]) > [data-framer-name="Menu"] {
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px - env(safe-area-inset-bottom, 0px));
    max-height: calc(100vh - 70px);
    max-height: calc(100dvh - 70px - env(safe-area-inset-bottom, 0px));
    overscroll-behavior-y: contain;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
  }

  html[data-mobile-nav-open], html[data-mobile-nav-open] body { overflow: hidden; }
  /* The fixed Framer shell spans the viewport; let its empty margins reach the backdrop. */
  html[data-mobile-nav-open] [data-framer-name="Banner and Nav"] { pointer-events: none; }
  html[data-mobile-nav-open] [data-framer-name="Nav wrapper"],
  html[data-mobile-nav-open] #mobile-navigation-panel { pointer-events: auto; }
  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9;
    border: 0;
    background: rgb(24 28 31 / 24%);
    padding: 0;
    touch-action: none;
  }
  html[data-mobile-nav-open] [id^="gitbook-widget"] { visibility: hidden !important; }
  html[data-mobile-nav-open] [inert]:has(.__framer-cookie-component-button) { visibility: hidden !important; }

  /* Resource cards share readable type, spacing and full-card touch targets. */
  #mobile-navigation-panel [data-framer-name="Customer story"],
  #mobile-navigation-panel [data-framer-name="State of Docs card"] {
    width: 100%;
    min-width: 0;
    flex-shrink: 0;
  }
  #mobile-navigation-panel .framer-1hlwki1,
  #mobile-navigation-panel [data-framer-name="State of Docs card"] {
    text-decoration: none;
    color: #1c1917;
  }
  #mobile-navigation-panel .framer-1l959v4 {
    width: 185px;
    max-width: 100%;
    height: 50px;
    flex-shrink: 0;
  }
  #mobile-navigation-panel .framer-navm74 p {
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  :is([data-framer-name="Mobile - menu open"], [data-framer-name="Tablet - open"]) :is(a, button, [role="button"]):focus-visible {
    outline: 2px solid #3861fb;
    outline-offset: -2px;
  }

  [data-framer-name="Nav wrapper"] [data-framer-name="Nav right"],
  [data-framer-name="Nav wrapper"] [data-framer-name="Nav icon"] {
    overflow: visible;
  }

  /* Keep common standalone actions comfortable to tap without enlarging type. */
  a.framer-FJHIH,
  [data-framer-name="Nav right"] a,
  a[data-framer-name="Banner"],
  a[data-framer-name="Calculator"],
  select.framer-form-input {
    min-height: 44px;
  }
  a[data-framer-name="Calculator"] { min-width: 44px; }

  /* Footer resource cards use text links rather than whole-card anchors. */
  .framer-13kg9m0 a.framer-text {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  [data-framer-name="Nav wrapper"] [data-framer-name="Nav icon"]::before {
    content: "";
    position: absolute;
    inset: -3px -5.5px;
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
  }

  /* This is the captured 404 title, not a global heading override. */
  .framer-ozk724 {
    max-width: calc(100vw - 40px);
  }
}

@media (max-width: 1024px) and (pointer: coarse) {
  .__framer-cookie-component-button,
  button[name="Load more"] {
    min-height: 44px;
    min-width: 44px;
  }
  /* Scope to the native calculator; do not change unrelated icon buttons. */
  .framer-1u5l9ad-container button:not([aria-label="Toggle annual billing"]) {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }
  .framer-1u5l9ad-container button[aria-label="Toggle annual billing"]::before {
    content: "";
    position: absolute;
    inset: -12px -5px;
  }
  input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
  textarea,
  select {
    font-size: max(16px, 1em) !important;
  }
}
