.research-languages {
  position: relative;
  z-index: 2;
}

.research-languages summary {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  font-size: .8rem;
}

.research-languages summary::-webkit-details-marker {
  display: none;
}

.research-languages ul {
  position: absolute;
  inset-inline-end: 0;
  inset-block-start: calc(100% + .25rem);
  width: max-content;
  max-width: calc(100vw - 2rem);
  max-height: min(65vh, 26rem);
  overflow: auto;
  margin: 0;
  padding: .25rem;
  list-style: none;
  background: #fff;
  color: #292825;
  border: 1px solid #ded9d3;
  box-shadow: 0 8px 24px #2928251a;
}

.research-languages a {
  display: block;
  min-height: 44px;
  padding: .65rem 1rem;
  text-decoration: none;
}

.research-languages a:is(:hover, :focus-visible, [aria-current]) {
  background: #f5eeeb;
  color: #8f2a31;
}

html:not([lang="en"]) .hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 5.8rem);
  overflow-wrap: anywhere;
  text-wrap: balance;
  white-space: normal;
}

html:not([lang="en"]) :is(.section-heading, .scope-heading, .pricing-intro, .questions-layout, .closing-section) h2 {
  overflow-wrap: anywhere;
}

@media (max-width: 1050px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }
}

@media (max-width: 500px) {
  .nav-actions .nav-start {
    display: none;
  }

  .research-languages ul {
    inset-inline-end: -1rem;
  }

  .section-rail .mono {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
