/* "Speaks your language" panel and the short note under the hero badge */

/* Below 1024px .app-store-badge keeps a 2em bottom margin (base-layout.css),
   so the note moves up into part of that gap.
   The 10px vertical padding only enlarges the tap area: the margins take it
   back out, so the text sits 10px under the badge and nothing below moves */
.hero .languages-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -20px 0 -10px;
  padding: 10px 0;
  color: #fff;
  font-family: 'gotham-rounded-bold', sans-serif;
  font-size: 16px;
  line-height: 1.3;
  text-decoration: none;
}

.hero .languages-note:hover span {
  text-decoration: underline;
}

.hero .languages-note svg {
  flex: none;
  width: 20px;
  height: 20px;
}

.language-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 860px;
  margin: 36px auto 0;
  padding: 0;
}

/* Names are written in their own script, so they use the system fonts,
   which cover every one of them */
.language-list li {
  margin: 0;
  list-style: none;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  color: #1a1a1a;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.3;
  white-space: nowrap;
}

/* From 1024px the badge loses its bottom margin, so the note brings its own gap
   (6px margin + the 10px padding = 16px under the badge) */
@media screen and (min-width: 1024px) {
  .hero .languages-note {
    margin-top: 6px;
    font-size: 17px;
  }
}

@media screen and (max-width: 480px) {
  .language-list {
    gap: 8px;
  }

  .language-list li {
    padding: 7px 13px;
    font-size: 15px;
  }
}
