@font-face {
  font-family: "Noto Naskh Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/marketing/noto-naskh-arabic-400.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08FF, U+FB50-FDFF, U+FE70-FEFF;
}

html[dir="rtl"] body {
  font-family: "Noto Naskh Arabic", "Inter", system-ui, sans-serif;
}

html[dir="rtl"] .font-heading,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
  font-family: "Noto Naskh Arabic", "Cormorant Garamond", serif;
}

html[dir="rtl"] .text-left {
  text-align: start;
}

html[dir="rtl"] .border-l-2 {
  border-left-width: 0;
  border-inline-start-width: 2px;
}

html[dir="rtl"] .pl-5 {
  padding-left: 0;
  padding-inline-start: 1.25rem;
}

html[dir="rtl"] .font-label,
html[dir="rtl"] .uppercase {
  letter-spacing: 0;
  text-transform: none;
}

html[lang="zh"] body,
html[lang="zh"] .font-heading,
html[lang="zh"] h1,
html[lang="zh"] h2,
html[lang="zh"] h3 {
  font-family: "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", "WenQuanYi Micro Hei", "Inter", "Cormorant Garamond", sans-serif;
}

html[lang="zh"] .font-label,
html[lang="zh"] .uppercase {
  letter-spacing: 0.04em;
  text-transform: none;
}

/* marketing.css does not include these utilities. */
.lanterio-mark {
  height: 2rem;
  width: auto;
  max-width: 12rem;
}

.lanterio-switch {
  letter-spacing: 0.14em;
}

/* The shared honeypot sits at left: -10000px. In RTL that extends the
   scrollport and the first paint lands in the empty area. */
html[dir="rtl"] .note-field-aux {
  left: 0 !important;
  clip-path: inset(100%);
}

.lanterio-switch a[aria-current="true"] {
  color: oklch(var(--foreground-950));
}

/* At xl the shared header button grows. The longest LanterIO label
   then crosses the shell. Hold the smaller size until the row has room.
   Aura does not load this sheet. */
@media (min-width: 1280px) and (max-width: 1359px) {
  .lanterio-header-cta {
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
  }
}

.lanterio-menu {
  position: relative;
}

.lanterio-menu__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  list-style: none;
  cursor: pointer;
  color: oklch(var(--foreground-950));
}

.lanterio-menu__button::-webkit-details-marker {
  display: none;
}

.lanterio-menu__button::marker {
  content: "";
}

.lanterio-menu__panel {
  position: absolute;
  z-index: 60;
  inset-inline-end: 0;
  top: calc(100% + 1.125rem);
  min-width: 14rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
  background: oklch(var(--background-50));
  border: 1px solid oklch(var(--background-300));
  text-align: start;
}

.lanterio-menu__panel a {
  display: block;
  padding: 0.75rem 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
