/* beibidi brand wordmark.
   Isolated brand typography for the "beibidi" lockup only; see
   docs/design-system.md. Never apply these classes or this typeface to
   interface text. */

@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-lockup__symbol {
  flex: none;
  height: auto;
  object-fit: contain;
  filter: var(--logo-filter);
}

.brand-lockup__wordmark {
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.035em;
  font-synthesis: none;
  text-rendering: geometricPrecision;
  white-space: nowrap;
  transform: translateY(-1px);
  color: inherit;
}

.brand-lockup__legacy-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-lockup--header {
  gap: 12px;
}

.brand-lockup--header .brand-lockup__symbol {
  height: 52px;
}

.brand-lockup--header .brand-lockup__wordmark {
  font-size: 24px;
}

a.brand-lockup:focus-visible {
  outline: 3px solid var(--color-focus-border);
  outline-offset: 2px;
  border-radius: 8px;
}

.brand-lockup--large {
  gap: 18px;
}

.brand-lockup--large .brand-lockup__symbol {
  width: 4rem;
}

.brand-lockup--large .brand-lockup__wordmark,
.brand-lockup--large.brand-lockup--auth .brand-lockup__wordmark {
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.035em;
  font-synthesis: none;
  text-rendering: geometricPrecision;
  white-space: nowrap;
  transform: translateY(-1px);
  color: var(--color-text-strong);
}

@media screen and (max-width: 1023px) {
  .brand-lockup--header {
    gap: 10px;
  }

  .brand-lockup--header .brand-lockup__symbol {
    height: 46px;
  }

  .brand-lockup--header .brand-lockup__wordmark {
    font-size: 22px;
  }

  .brand-lockup--large .brand-lockup__symbol {
    width: 3.4rem;
  }

  .brand-lockup--large .brand-lockup__wordmark,
  .brand-lockup--large.brand-lockup--auth .brand-lockup__wordmark {
    font-size: 1.75rem;
  }
}

@media screen and (max-width: 767px) {
  .brand-lockup--header {
    gap: 8px;
  }

  .brand-lockup--header .brand-lockup__symbol {
    height: 40px;
  }

  .brand-lockup--header .brand-lockup__wordmark {
    font-size: 20px;
    letter-spacing: -0.03em;
  }

  .brand-lockup--large .brand-lockup__symbol {
    width: 3rem;
  }

  .brand-lockup--large .brand-lockup__wordmark,
  .brand-lockup--large.brand-lockup--auth .brand-lockup__wordmark {
    font-size: 1.5rem;
  }
}
