:root {
  --legacy-blue: #174b8c;
  --legacy-blue-dark: #0e315f;
  --legacy-ink: #20252b;
  --legacy-line: #dce3eb;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--legacy-ink);
}

header .root-width {
  max-width: 1280px;
}

.in-header {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
  height: 104px;
  padding: 0;
}

.in-header h1,
.in-header .legacy-site-logo {
  position: static;
  margin: 0;
  transform: none;
}

.in-header h1 img,
.in-header .legacy-site-logo img {
  width: 180px;
}

.legacy-main-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 40px);
  height: 100%;
}

.legacy-main-nav a {
  display: flex;
  align-items: center;
  position: relative;
  color: #303842;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 200ms ease;
}

.legacy-main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  height: 2px;
  background: var(--legacy-blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms ease;
}

.legacy-main-nav a:hover,
.legacy-main-nav a:focus-visible,
.legacy-main-nav a.is-active {
  color: var(--legacy-blue);
}

.legacy-main-nav a:hover::after,
.legacy-main-nav a:focus-visible::after,
.legacy-main-nav a.is-active::after {
  transform: scaleX(1);
}

.legacy-main-nav a:focus-visible,
.top-tell:focus-visible {
  outline: 3px solid rgba(23, 75, 140, .28);
  outline-offset: 5px;
}

.in-header .top-tell {
  position: static;
  margin: 0;
  color: var(--legacy-blue);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  white-space: nowrap;
}

.in-header .top-tell span {
  display: block;
  color: #6f7780;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-align: right;
}

.wrap-section {
  padding-top: 104px;
}

.wrap-right-bottom {
  display: none !important;
}

.legacy-company-footer {
  background: var(--legacy-blue-dark);
  padding: 48px 0 52px;
  color: rgba(255,255,255,.86);
}

.legacy-company-footer .legacy-footer-inner {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  max-width: 1100px;
  padding: 0 15px;
}

.legacy-footer-brand img {
  display: block;
  width: 180px;
  filter: brightness(0) invert(1);
  opacity: .94;
}

.legacy-footer-brand strong {
  display: block;
  margin-top: 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.legacy-footer-info p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.6;
}

.legacy-footer-info p span {
  margin-left: 18px;
}

.legacy-footer-info a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legacy-footer-info .legacy-footer-muted {
  color: rgba(255,255,255,.54);
}

.legacy-preview-status {
  margin-top: 12px;
  color: #174b8c;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 1100px) {
  body,
  header {
    max-width: none;
  }

  .in-header {
    grid-template-columns: 160px minmax(0, 1fr) auto;
    gap: 20px;
    padding: 0 22px;
  }

  .in-header h1,
  .in-header h1 img,
  .in-header .legacy-site-logo,
  .in-header .legacy-site-logo img {
    padding: 0 !important;
  }

  .in-header h1 img,
  .in-header .legacy-site-logo img {
    width: 150px;
  }

  .legacy-main-nav {
    gap: 18px;
  }

  .legacy-main-nav a {
    padding: 0;
    font-size: 14px;
  }

  .in-header .top-tell {
    margin: 0;
    font-size: 15px;
  }
}

@media (max-width: 760px) {
  .in-header {
    grid-template-columns: 1fr auto;
    grid-template-rows: 62px 46px;
    height: 108px;
    padding: 0 16px;
  }

  .in-header h1 img,
  .in-header .legacy-site-logo img {
    width: 136px;
  }

  .in-header .top-tell {
    font-size: 14px;
  }

  .legacy-main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .legacy-main-nav::-webkit-scrollbar {
    display: none;
  }

  .legacy-main-nav a {
    flex: 0 0 auto;
    font-size: 13px;
  }

  .legacy-main-nav a::after {
    bottom: 5px;
  }

  .wrap-section {
    padding-top: 108px;
  }

  .legacy-company-footer .legacy-footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 0 22px;
  }

  .legacy-footer-info p span {
    display: block;
    margin-left: 0;
  }
}
