/* TMOE shared layout: frame, rails, header, footer */
.container-shell {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: calc(var(--rail-offset) + var(--rail-gutter));
  padding-right: calc(var(--rail-offset) + var(--rail-gutter));
}
.between-rails {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--rail-offset);
  padding-right: var(--rail-offset);
}
.rail-rule {
  height: 1px;
  /* margin-left: -1px;
  margin-right: -1px; */
}
.rail-rule-light {
  background: var(--stroke-light);
}
.rail-rule-dark {
  background: var(--stroke-dark);
}
.page-frame {
  width: 100%;
  max-width: 91rem;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  position: relative;
}
.page-frame::before,
.page-frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--stroke-light);
  z-index: 10;
  pointer-events: none;
}
.page-frame::before {
  left: var(--rail-offset);
}
.page-frame::after {
  right: var(--rail-offset);
}
.frame-rails {
  position: relative;
}
.frame-rails::before,
.frame-rails::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--stroke-light);
  z-index: 60;
  pointer-events: none;
}
.frame-rails::before {
  left: var(--rail-offset);
}
.frame-rails::after {
  right: var(--rail-offset);
}
.site-header {
  background-color: #ffffff;
  background-image: none;
}
.site-header.is-dark {
  background-color: #16171D;
  background-image: none;
}
.site-header.is-dark::before,
.site-header.is-dark::after {
  background: var(--stroke-dark);
}
.site-header.is-dark .site-nav-link {
  color: rgba(255, 255, 255, 0.8);
}
.site-header.is-dark .site-nav-link:hover {
  color: #ffffff;
}
.site-header.is-dark .site-header-cta {
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #ffffff;
}
.site-header.is-dark .site-header-cta:hover {
  border-color: #f15a22;
  background: #f15a22;
  color: #ffffff;
}
@media (min-width: 1025px) {
  .site-header {
    background-color: transparent;
    background-image: linear-gradient(
      to right,
      transparent 0,
      transparent var(--rail-offset),
      #ffffff var(--rail-offset),
      #ffffff calc(100% - var(--rail-offset)),
      transparent calc(100% - var(--rail-offset)),
      transparent 100%
    );
  }
  .site-header.is-dark {
    background-color: transparent;
    background-image: linear-gradient(
      to right,
      transparent 0,
      transparent var(--rail-offset),
      #16171D var(--rail-offset),
      #16171D calc(100% - var(--rail-offset)),
      transparent calc(100% - var(--rail-offset)),
      transparent 100%
    );
  }
}
.rails {
  position: relative;
}
.rails::before,
.rails::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  z-index: 55;
  pointer-events: none;
}
.rails::before {
  left: var(--rail-offset);
}
.rails::after {
  right: var(--rail-offset);
}
.rails-light::before,
.rails-light::after {
  background: var(--stroke-light);
}
.rails-dark::before,
.rails-dark::after {
  background: var(--stroke-dark);
}
.line-light {
  border-color: var(--stroke-light) !important;
}
.line-dark {
  border-color: var(--stroke-dark) !important;
}
@media (max-width: 1024px) {
  :root {
    --rail-offset: 24px;
    --rail-gutter: 16px;
  }
  .container-shell {
    padding-left: calc(var(--rail-offset) + var(--rail-gutter));
    padding-right: calc(var(--rail-offset) + var(--rail-gutter));
  }
  .page-frame::before {
    left: var(--rail-offset);
  }
  .page-frame::after {
    right: var(--rail-offset);
  }
  .frame-rails::before {
    left: var(--rail-offset);
  }
  .frame-rails::after {
    right: var(--rail-offset);
  }
  .rails::before {
    left: var(--rail-offset);
  }
  .rails::after {
    right: var(--rail-offset);
  }
}
/* Language switcher */
.lang-switcher {
  position: relative;
}
.lang-switcher::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.75rem;
  z-index: 79;
}
.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0.35rem 0.5rem;
  border-radius: 0.375rem;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: #222222;
  outline: none;
  box-shadow: none;
  line-height: 1;
}
.site-lang-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.lang-switcher-btn:focus,
.lang-switcher-btn:focus-visible {
  outline: none;
  box-shadow: none;
  /* border: 1px solid rgba(12, 12, 10, 0.22); */
}
/* .site-header.is-dark .lang-switcher-btn:focus,
.site-header.is-dark .lang-switcher-btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.35);
} */
.lang-switcher-btn:hover {
  color: #222222;
}
.site-header.is-dark .lang-switcher-btn {
  color: rgba(255, 255, 255, 0.9);
}
.site-header.is-dark .lang-switcher-btn:hover {
  color: #fff;
}
.site-header.is-dark .lang-switcher-code {
  color: rgba(255, 255, 255, 0.9);
}
.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  right: auto;
  min-width: 11rem;
  max-height: min(18rem, 70vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  z-index: 80;
  border-radius: 0.5rem;
  border: 1px solid var(--stroke-light);
  background: #fff;
  box-shadow: 0 8px 24px rgba(12, 12, 10, 0.12);
  padding: 0.35rem;
}
.lang-switcher-menu::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
html[dir="rtl"] .lang-switcher.relative > .lang-switcher-menu {
  left: auto;
  right: 0;
}
.site-header.is-dark .lang-switcher-menu {
  border-color: var(--stroke-dark);
  background: #1e1f27;
}
.lang-switcher-option {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: rgba(12, 12, 10, 0.85);
}
.site-header.is-dark .lang-switcher-option {
  color: rgba(255, 255, 255, 0.85);
}
.lang-switcher-option:hover,
.lang-switcher-option.lang-option-active {
  background: rgba(241, 90, 34, 0.1);
  color: #f15a22;
}
.lang-code-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.65;
}
.lang-switcher-chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.lang-switcher-btn[aria-expanded="true"] .lang-switcher-chevron {
  transform: rotate(180deg);
}
.lang-switcher-code {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  color: #222222;
  text-transform: lowercase;
}
.site-nav-link.is-active {
  color: var(--accent-bright) !important;
  font-weight: 600;
}
.site-header.is-dark .site-nav-link.is-active {
  color: var(--accent-bright) !important;
}
/* Site footer (Figma) */
.site-footer {
  background-color: #16171D;
  color: #fff;
}
.footer-inner {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer-inner {
    padding-top: 40px;
    padding-bottom: 30px;
  }
}
.footer-main {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 640px) and (max-width: 1023px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
    row-gap: 2.5rem;
  }
  .footer-logo-wrap {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1024px) {
  .footer-main {
    grid-template-columns: 95.5px minmax(220px, max-content) minmax(220px, max-content);
    justify-content: start;
    column-gap: 4.25rem;
    row-gap: 0;
  }
  .footer-col-social {
    margin-left: 200px !important;
  }
}
.footer-logo-wrap {
  margin: 0;
}
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  width: 95.5px;
  height: 40px;
  line-height: 0;
}
.footer-logo-img {
  width: 95.5px;
  height: 40px;
  object-fit: contain;
  display: block;
}
.footer-col {
  margin: 0;
  min-width: 0;
}
.footer-heading {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}
.footer-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.footer-list li {
  margin: 0;
  margin-top: 0.5rem;
}
.footer-list li:first-child {
  margin-top: 0;
}
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-link:hover {
  color: rgba(255, 255, 255, 1);
}
.footer-link:focus {
  outline: none;
}
.footer-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
  border-radius: 2px;
}
.footer-ext-icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  opacity: 0.9;
}
.footer-careers-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #f15a22;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stroke-dark);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
}
.footer-copy {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.8);
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}
.footer-meta-link {
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-meta-link:hover {
  color: rgba(255, 255, 255, 0.65);
}
.footer-meta-link:focus {
  outline: none;
}
.footer-meta-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
  border-radius: 2px;
}
@media (max-width: 767px) {
  :root {
    --rail-offset: 16px;
    --rail-gutter: 0px;
  }
  .frame-rails {
    border-bottom: 1px solid var(--stroke-light);
  }
  .page-frame::before,
  .page-frame::after,
  .frame-rails::before,
  .frame-rails::after,
  .rails::before,
  .rails::after {
    display: none;
  }
  .between-rails {
    padding-left: 0;
    padding-right: 0;
  }
  .rail-rule {
    display: none;
  }
  .footer-inner {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.75rem;
    row-gap: 2rem;
  }
  .footer-logo-wrap {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    gap: 0.85rem;
  }
  .footer-copy {
    line-height: 1.2;
  }
  .footer-meta {
    flex-wrap: nowrap;
    gap: 0.75rem 1rem;
  }
  .footer-meta-link {
    white-space: nowrap;
  }
}
