/* GO AI language and regional storefront controls */
.goai-language {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 164px;
  min-width: 164px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 180ms ease, background 180ms ease;
}

.goai-language:hover,
.goai-language:focus-within {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.085);
}

.goai-language__icon {
  position: absolute;
  inset-inline-start: 13px;
  width: 15px;
  height: 15px;
  pointer-events: none;
  opacity: 0.82;
  z-index: 1;
}

.goai-language__value {
  display: block;
  width: 100%;
  min-width: 0;
  padding-inline: 40px 30px;
  overflow: hidden;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-align: start;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}

.goai-language::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset-inline-end: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: 0.82;
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.goai-language__select {
  position: absolute;
  z-index: 2;
  inset-block: -4px;
  inset-inline: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  opacity: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color-scheme: dark;
  -webkit-appearance: none;
  appearance: none;
}

.goai-language__select option {
  color: #e9e8e3;
  background: #171719;
}

.nav .goai-language {
  margin-inline: 0;
}

@media (max-width: 1120px) and (min-width: 761px) {
  .nav .goai-language {
    width: 148px;
    min-width: 148px;
  }
}

.wrap > header .goai-language {
  margin-inline-end: 8px;
  vertical-align: middle;
}

[dir="rtl"] body {
  direction: rtl;
}

/* The wordmark is a fixed Latin brand, so its two styled spans must never
   inherit RTL flex ordering (which would render it visually as “AI GO”). */
[dir="rtl"] .nav__logo {
  direction: ltr;
  unicode-bidi: isolate;
}

[dir="rtl"] .app-copy__more svg,
[dir="rtl"] .nav__cta svg,
[dir="rtl"] .detail-back svg {
  transform: scaleX(-1);
}

[dir="rtl"] .footer__cols,
[dir="rtl"] .app-copy,
[dir="rtl"] .detail-hero__copy,
[dir="rtl"] .detail-feature__copy,
[dir="rtl"] .faq__item,
[dir="rtl"] .wrap section,
[dir="rtl"] .wrap footer {
  text-align: start;
}

.goai-language-prompt {
  position: fixed;
  z-index: 120;
  inset-inline-end: 22px;
  bottom: 22px;
  width: min(390px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  color: #f5f3ee;
  background: rgba(21, 21, 23, 0.94);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.goai-language-prompt p {
  margin: 0 0 13px;
  color: inherit;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

.goai-language-prompt div {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.goai-language-prompt a,
.goai-language-prompt button {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.goai-language-prompt a {
  color: #121214;
  background: #f5f3ee;
  text-decoration: none;
}

.goai-language-prompt button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #dad7d0;
  background: transparent;
}

.goai-language-prompt a:hover,
.goai-language-prompt a:focus-visible {
  background: #ffffff;
}

.goai-language-prompt button:hover,
.goai-language-prompt button:focus-visible {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

@media (max-width: 760px) {
  .nav .goai-language {
    width: 44px;
    min-width: 44px;
    margin-inline: 0;
  }

  .nav .goai-language__select {
    min-width: 44px;
    width: 44px;
  }

  .nav .goai-language__value,
  .nav .goai-language::after {
    display: none;
  }

  .nav .goai-language__select option {
    color: #e9e8e3;
  }
}

@media (max-width: 440px) {
  .wrap > header .goai-language {
    margin-top: 8px;
  }

  .goai-language-prompt {
    inset-inline: 16px;
    bottom: 16px;
    width: auto;
  }
}

@media print {
  .goai-language,
  .goai-language-prompt { display: none !important; }
}
