/* Shared navigation, typography and footer for both pages. */
body, h1, h2, h3, h4, h5, h6, p, a, label, legend, button, input, select, textarea {
  font-family: "IBM Plex Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

.site-container, .contact-container, .container {
  width: min(1240px, calc(100% - 64px));
  max-width: none;
  padding-inline: 0;
  margin-inline: auto;
}

.site-header, .site-footer {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #243958;
}

.site-header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 20;
  background: #fff;
  padding: 0;
  border-bottom: 1px solid #e3e8ef;
  box-shadow: none;
}

.site-header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-logo {
  color: #235af4;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.site-logo img {
  display: block;
  width: 200px;
  height: 48px;
  object-fit: contain;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-navigation a, .site-footer a {
  color: #243958;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  text-decoration: none;
}

.site-navigation a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.site-navigation .site-contact-link {
  padding: 10px 20px;
  border: 1px solid #006bff;
  border-radius: 5px;
  background: #006bff;
  color: #fff;
}

.site-navigation a:hover, .site-footer a:hover,
.site-navigation a[aria-current="location"] {
  color: #235af4;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-navigation .site-contact-link:hover {
  color: #fff;
  background: #0059d6;
  text-decoration: none;
}

.site-header a:focus-visible, .site-footer a:focus-visible,
.site-menu-toggle:focus-visible {
  outline: 2px solid #235af4;
  outline-offset: 5px;
}

.site-menu-toggle {
  display: none;
}

.site-footer {
  margin: 0;
  background: #f6f8fb;
  border-top: 1px solid #e3e8ef;
  padding: 44px 0 24px;
}

.site-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  padding-bottom: 32px;
}

.site-footer-brand p {
  max-width: 390px;
  margin: 14px 0 0;
  color: #243958;
  font-size: 14px;
  line-height: 1.7;
}

.site-footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: flex-end;
}

.site-footer-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #dce3ed;
  padding-top: 20px;
}

.site-footer-bottom p, .site-footer-bottom a {
  font-size: 12px;
  color: #243958;
  line-height: 1.6;
  margin: 0;
}

/* Quiet the existing hero label without changing the homepage layout. */
.banner-tag {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.banner-tag p {
  letter-spacing: .06em;
}

/* The original homepage sections remain intact. */
.banner-section {
  padding-top: 3rem;
}

@media (max-width: 1000px) {
  .site-header-inner { gap: 20px; }
  .site-navigation { gap: 18px; }
  .site-navigation a { font-size: 13px; }
  .site-logo img { width: 175px; }
}

@media (max-width: 820px) {
  .site-container, .contact-container, .container { width: calc(100% - 40px); }
  .site-header-inner { min-height: 76px; flex-wrap: wrap; gap: 0; }
  .site-logo img { width: 175px; height: 44px; }
  .site-menu-toggle:not([hidden]) {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    font-size: 14px;
    color: #243958;
    background: #fff;
    border: 1px solid #dce3ed;
    border-radius: 4px;
  }
  .site-menu-label { font-size: 14px !important; color: inherit !important; margin: 0; }
  .site-menu-icon { width: 16px; height: 10px; border-block: 1.5px solid currentColor; margin: 0; }
  .site-menu-toggle[aria-expanded="true"] .site-menu-icon { height: 0; border-bottom: 0; }
  .site-navigation {
    flex-basis: 100%;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 20px;
    border-top: 1px solid #e3e8ef;
  }
  .site-header.is-enhanced .site-navigation:not(.is-open) { display: none; }
  .site-navigation a { padding: 12px 0; font-size: 15px; }
  .site-navigation .site-contact-link { justify-content: center; margin-top: 10px; }
  .site-footer-top { align-items: flex-start; flex-direction: column; gap: 20px; }
  .site-footer-navigation { justify-content: flex-start; gap: 0 24px; }
  .site-footer-bottom { flex-wrap: wrap; gap: 12px; }
}

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

/* The same title scale and text palette apply to both page layouts. */
.banner-content-wrapper h1,
.contact-copy h1 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1.5px;
  color: #142746;
}

body, .contact-page {
  color: #243958;
}

@media (max-width: 820px) {
  .site-container, .contact-container, .container { width: calc(100% - 40px); }
  .banner-content-wrapper h1, .contact-copy h1 { font-size: 40px; }
}
