.navbar-brand,
.footer-brand {
  align-items: center;
  display: inline-flex;
  gap: .6rem;
  overflow-wrap: normal;
}

.navbar-brand {
  width: auto !important;
}

.navbar-brand img,
.footer-brand img {
  height: 58px;
  object-fit: contain;
  object-position: center;
  width: 58px;
}

.navbar-brand img {
  height: 58px !important;
  width: 58px !important;
}

.brand-name {
  color: #061a35;
  font-family: "Manrope", sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1;
  white-space: nowrap;
}

.brand-name > span {
  color: #1477ef;
}

.footer-brand {
  margin-bottom: .95rem;
}

.footer-brand .brand-name,
.footer-brand .brand-name > span {
  display: inline;
  margin: 0;
}

.footer-brand .brand-name {
  color: #fff;
  font-size: 1.2rem;
}

.footer-brand:hover .brand-name {
  color: #fff;
}

.topbar .container {
  flex-wrap: wrap;
  gap: .35rem 1rem;
}

.social-links {
  display: flex;
  gap: .55rem;
  margin-top: 1rem;
}

.social-links a {
  align-items: center;
  border: 1px solid #365477;
  border-radius: 50%;
  display: inline-flex;
  height: 2.2rem;
  justify-content: center;
  margin: 0;
  width: 2.2rem;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: #1477ef;
  border-color: #1477ef;
  color: #fff;
}

.footer-legal {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .9rem;
  justify-content: flex-end;
}

.footer-legal a,
.footer-legal span {
  display: inline;
  margin: 0;
}

.skip-link {
  background: #fff;
  border-radius: 0 0 .5rem .5rem;
  color: #061a35;
  font-weight: 700;
  left: 1rem;
  padding: .65rem .9rem;
  position: fixed;
  top: 0;
  transform: translateY(-120%);
  transition: transform .2s ease;
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #1477ef;
  outline-offset: 3px;
}

main:focus {
  outline: 0;
}

.form-disclosure {
  color: #60708a !important;
  font-size: .72rem;
  line-height: 1.45;
  margin: .8rem 0 0 !important;
}

.form-message {
  min-height: 1.5rem;
}

.play-button {
  border: 0;
}

.ratio video {
  background: #061b39;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.legal-page {
  background: #f7faff;
  min-height: 70vh;
  padding: 5rem 0;
}

.legal-page .legal-content {
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(6, 26, 53, .06);
  margin: 0 auto;
  max-width: 860px;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.legal-page h1 {
  font-size: clamp(2.35rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.legal-page h2 {
  font-size: 1.25rem;
  letter-spacing: -.03em;
  margin: 2rem 0 .6rem;
}

.legal-page p,
.legal-page li {
  color: #60708a;
}

.legal-page a {
  color: #1477ef;
  text-decoration: underline;
  text-underline-offset: .15em;
}

img,
video,
iframe {
  max-width: 100%;
}

iframe {
  border: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.hero {
  position: relative;
}

footer a,
.service-contact a {
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 575px) {
  .navbar-brand img,
  .footer-brand img {
    height: 48px !important;
    width: 48px !important;
  }

  .footer-brand .brand-name {
    font-size: 1.08rem;
  }

  .topbar .container {
    justify-content: center !important;
    text-align: center;
  }

  .topbar .container > a {
    overflow-wrap: anywhere;
  }

  .floating-card {
    max-width: calc(100vw - 2rem);
  }

  .footer-bottom > div {
    margin-top: .75rem;
  }

  .footer-legal {
    justify-content: flex-start;
  }

  footer .row > [class*="col-"] {
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .navbar-brand,
  .footer-brand {
    gap: .45rem;
  }

  .navbar-brand img,
  .footer-brand img {
    height: 44px !important;
    width: 44px !important;
  }

  .brand-name,
  .footer-brand .brand-name {
    font-size: .94rem;
  }
}
