html {
  scroll-behavior: smooth;
}

body {
  background: #f6f8fb;
  color: #16202a;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  padding-top: 128px;
}

h1,
h2,
h3,
h4,
.navbar-brand {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

p {
  color: #4d5963;
}

a,
a:hover,
a:visited,
a:link,
a:active {
  color: inherit;
  text-decoration: none;
}

.btn {
  border-radius: 6px;
  border-width: 0;
  font-weight: 800;
  letter-spacing: 0;
  padding: 12px 18px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover,
.btn:focus {
  box-shadow: 0 12px 28px rgba(12, 32, 53, .16);
  transform: translateY(-1px);
}

.btn-primary {
  background: #1268c4;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #0f549d;
}

.btn-default {
  background: #fff;
  border: 1px solid #d6e2ec;
  color: #111820;
}

.modern-nav {
  background: rgba(255, 255, 255, .96);
  border: 0;
  border-bottom: 1px solid #dfe7ee;
  box-shadow: 0 14px 38px rgba(12, 32, 53, .08);
  min-height: 128px;
}

.modern-nav .nav-center-shell {
  align-items: center;
  display: flex;
  flex-direction: column;
  min-height: 128px;
}

.modern-nav .nav-brand-row {
  display: flex;
  float: none;
  justify-content: center;
  min-height: 76px;
  position: relative;
  width: 100%;
}

.modern-nav .brand-lockup {
  align-items: center;
  display: inline-flex;
  float: none;
  gap: 14px;
  justify-content: center;
  margin-left: 0 !important;
  min-height: 76px;
  padding: 9px 15px 6px;
}

.modern-nav .brand-logo {
  height: 58px;
  width: 58px;
}

.modern-nav .brand-name {
  color: #111820;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

.modern-nav .nav-links-row {
  border-top: 1px solid rgba(17, 24, 32, .08);
  box-shadow: none;
  float: none;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  width: 100%;
}

.centered-bracket-nav {
  align-items: center;
  display: flex;
  float: none;
  gap: 8px;
  justify-content: center;
  margin: 0;
  width: 100%;
}

.modern-nav .centered-bracket-nav > li {
  float: none;
}

.modern-nav .centered-bracket-nav > li > a,
.nav-company-cluster a {
  color: #22313f;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 15px 10px;
  position: relative;
  text-transform: uppercase;
  transition: color .18s ease, transform .18s ease;
}

.modern-nav .centered-bracket-nav > li > a:hover,
.modern-nav .centered-bracket-nav > li > a:focus,
.nav-company-cluster a:hover,
.nav-company-cluster a:focus {
  color: #0b5cab;
  text-decoration: none;
  transform: translateY(-1px);
}

.nav-company-cluster {
  align-items: center;
  display: inline-flex !important;
  gap: 2px;
  padding: 0 8px;
  position: relative;
}

.nav-company-cluster:before,
.nav-company-cluster:after {
  background: linear-gradient(90deg, transparent, rgba(29, 79, 145, .28), transparent);
  content: '';
  height: 1px;
  left: 18px;
  position: absolute;
  right: 18px;
  transition: opacity .18s ease, transform .18s ease;
}

.nav-company-cluster:before {
  top: 8px;
}

.nav-company-cluster:after {
  bottom: 8px;
}

.nav-company-cluster:hover:before,
.nav-company-cluster:focus-within:before {
  opacity: 1;
  transform: translateY(-2px);
}

.nav-company-cluster:hover:after,
.nav-company-cluster:focus-within:after {
  opacity: 1;
  transform: translateY(2px);
}

.nav-bracket {
  color: #1d4f91;
  font-family: 'Source Serif 4', serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  padding: 0 4px;
  transition: transform .18s ease;
}

.nav-company-cluster:hover .nav-bracket,
.nav-company-cluster:focus-within .nav-bracket {
  transform: scale(1.08);
}

.nav-separator {
  color: #8b98a4;
  font-weight: 800;
}

.login-page-modern {
  background: #fff;
  color: #111820;
}

.login-page-modern {
  background:
    radial-gradient(circle at 82% 16%, rgba(82, 177, 221, .16), transparent 34%),
    linear-gradient(135deg, #f7fbff 0%, #fff 50%, #eef7f6 100%);
  padding: 88px 0;
}

.login-panel-grid {
  align-items: center;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .82fr);
}

.login-panel-grid:before,
.login-panel-grid:after {
  content: none;
  display: none;
}

.eyebrow {
  color: #1d4f91;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.login-page-modern h1 {
  color: #111820;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.04;
  margin: 0 0 22px;
}

.login-page-modern p:not(.eyebrow) {
  color: #53606b;
  font-size: 20px;
  line-height: 1.65;
  max-width: 700px;
}

.login-form-card {
  background: rgba(255, 255, 255, .84);
  border: 1px solid #d6e2ec;
  border-radius: 24px;
  box-shadow: 0 34px 90px rgba(17, 24, 32, .1);
  display: grid;
  gap: 14px;
  padding: 22px;
}

.login-form-card label {
  color: #111820;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  margin: 0;
  text-transform: uppercase;
}

.login-form-card .form-control {
  border-color: #d6e2ec;
  border-radius: 12px;
  box-shadow: none;
  height: 50px;
}

.login-form-card .btn-primary {
  margin-top: 4px;
}

.site-footer {
  background: #0d1823;
  color: rgba(255, 255, 255, .78);
  margin: 0;
  padding: 0;
}

.footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(260px, 1.2fr) minmax(140px, .45fr) minmax(210px, .75fr) minmax(220px, .75fr);
  padding: 42px 15px 34px;
}

.footer-grid:before,
.footer-grid:after,
.footer-bottom:before,
.footer-bottom:after {
  content: none;
  display: none;
}

.footer-brand-block strong {
  color: #fff;
  display: block;
  font-size: 22px;
  margin-bottom: 12px;
}

.site-footer h2 {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, .74);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: block;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 8px;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  justify-content: space-between;
  padding: 18px 15px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
}

.footer-bottom p:last-child {
  align-items: center;
  display: flex;
  gap: 14px;
}

.site-footer .employee-login-link {
  border-left: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .5);
  display: inline-block;
  font-size: 12px;
  letter-spacing: .08em;
  margin: 0;
  padding-left: 14px;
  text-transform: uppercase;
}

.site-footer .employee-login-link:hover,
.site-footer .employee-login-link:focus {
  color: #fff;
}

.mb-3 {
  margin-bottom: 15px;
}

.form-label {
  display: inline-block;
  font-weight: 700;
  margin-bottom: 5px;
}

.d-flex {
  display: flex;
}

.justify-content-end {
  justify-content: flex-end;
}

.align-items-center {
  align-items: center;
}

@media (max-width: 1199px) {
  .modern-nav .navbar-nav > li > a {
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 991px) {
  body {
    padding-top: 92px;
  }

  .modern-nav,
  .modern-nav .container,
  .brand-lockup {
    min-height: 92px;
  }

  .modern-nav .nav-center-shell,
  .modern-nav .nav-brand-row {
    min-height: 92px;
  }

  .modern-nav .brand-lockup {
    min-height: 92px;
    padding-right: 68px;
  }

  .modern-nav .navbar-toggle {
    margin-right: 15px;
    margin-top: 28px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 4;
  }

  .modern-nav .nav-links-row {
    border-top: 1px solid #dfe7ee;
    width: 100%;
  }

  .centered-bracket-nav {
    display: grid;
    gap: 8px;
    padding: 12px 0 18px;
  }

  .modern-nav .centered-bracket-nav > li > a,
  .nav-company-cluster a {
    justify-content: center;
    padding: 10px 12px;
  }

  .login-panel-grid {
    gap: 36px;
    grid-template-columns: 1fr;
  }

  .login-page-modern h1 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .login-page-modern p:not(.eyebrow) {
    font-size: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 82px;
  }

  .modern-nav,
  .modern-nav .container,
  .brand-lockup,
  .modern-nav .nav-center-shell,
  .modern-nav .nav-brand-row,
  .modern-nav .brand-lockup {
    min-height: 82px;
  }

  .modern-nav .brand-lockup {
    gap: 10px;
    padding-left: 8px;
    padding-right: 58px;
  }

  .brand-logo {
    height: 50px;
    width: 50px;
  }

  .brand-name {
    font-size: 14px;
  }

  .modern-nav .navbar-toggle {
    margin-top: 23px;
  }

  .nav-company-cluster {
    border-radius: 24px;
    flex-wrap: wrap;
    padding: 4px 10px;
  }

  .nav-bracket {
    display: none;
  }
}
