/* Interactions and accessibility for the static rebuild. Layout tokens live in layout.css. */
:root { --focus: #4f70be; }
html { scroll-behavior: smooth; }

/* Netlify inserts its branding in a separate frame on the published site. */
iframe#nl-badge-frame { display: none !important; }

:where(a, button, input, textarea):focus-visible,
.dropdown-toggle:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
:where(.rt-hero, .rt-about-v2-bottom, .rt-footer) :focus-visible { outline-color: white; }
.rt-input:focus-visible { outline-offset: 2px; }
#how-its-work { scroll-margin-top: 5rem; }
.skip-link {
  position: fixed;
  inset: .5rem auto auto .5rem;
  z-index: 1100;
  padding: .75rem 1rem;
  background: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.dropdown-link { transition: background-color .2s, color .2s; }
.rt-button-submit { cursor: pointer; }
.rt-button-overlay { transition: width .4s cubic-bezier(.24,.6,.34,1); }
.rt-button-text.rt-1, .rt-button-text.rt-2 { transition: opacity .2s ease; }
.rt-button:is(:hover, :focus-visible) .rt-button-overlay {
  width: 120%;
  left: -10%;
}
.rt-button:is(:hover, :focus-visible) .rt-button-text.rt-1 { opacity: 0; }
.rt-button:is(:hover, :focus-visible) .rt-button-text.rt-2 { opacity: 1; }
.rt-button:not(.button-inverse) .rt-button-overlay { background: #171717; }
.rt-button .rt-button-overlay { left: -10%; }
.rt-button-border, .rt-button-overlay { pointer-events: none; }
.rt-about-v2-top .rt-h1-counter {
  height: auto;
  overflow: visible;
}
.rt-clients .icon-embed-medium {
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.rt-marquee-train { animation: partner-scroll 40s linear infinite; }
.rt-clients { position: relative; }
.rt-clients:is(:hover, :focus-within) .rt-marquee-train,
.rt-clients[data-paused="true"] .rt-marquee-train { animation-play-state: paused; }
@keyframes partner-scroll { to { transform: translateX(-100%); } }
.marquee-toggle {
  position: absolute;
  z-index: 2;
  inset: auto 1rem .6rem auto;
  padding: .25rem .5rem;
  border-radius: 2px;
  color: white;
  background: #2e323f;
  font: inherit;
  font-size: .75rem;
  opacity: 0;
}
.rt-clients:hover .marquee-toggle,
.marquee-toggle:focus-visible { opacity: 1; }
.lang-switch .dropdown-toggle { background: transparent; color: #171717; font-family: inherit; }
.dropdown-arrow {
  position: absolute;
  top: 50%;
  right: 14px;
  margin-right: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
}
.dropdown-toggle[aria-expanded="true"] .dropdown-arrow { transform: translateY(-30%) rotate(225deg); }
.dropdown-list-5.w--open {
  inset: auto auto -8% calc(100% + .25rem);
  min-width: 7rem;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 3px 16px #17171721;
}
.dropdown-list-5 a[aria-current="page"] { font-weight: 600; }
.dropdown-list-5 a:focus-visible { outline-offset: -3px; }
.rt-footer-links-wrap a { max-width: min(86vw, 22rem); overflow-wrap: break-word; }

@media (min-width: 1280px) {
  .lang-switch .dropdown-toggle { padding-right: 46px; }
}
@media (max-width: 479px) {
  #how-its-work { scroll-margin-top: 0; }
  .lang-switch { bottom: max(2%, env(safe-area-inset-bottom)); }
}
@media (hover: none) {
  .marquee-toggle { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rt-marquee-train { animation: none; }
  .marquee-toggle { display: none; }
  .rt-button-overlay, .rt-button-text, .dropdown-link { transition: none !important; }
}


/* The original viewport heights crop the headline or button on short screens. */
@media (min-width: 480px) and (max-width: 767px),
       (min-width: 768px) and (max-width: 991px) and (max-height: 800px),
       (min-width: 992px) and (max-height: 710px) {
  .rt-hero {
    display: grid;
    align-items: center;
    height: auto;
    min-height: 72vh;
  }
  .rt-hero-main {
    height: auto;
    min-height: 72vh;
    padding-block: 2.5rem;
  }
  .rt-hero-v11-content { margin-bottom: 0; }
}
