/* One responsive size for page titles, including system and legal pages. */
:root body main h1 {
  font-size: clamp(32px, 4.7vw, 78px) !important;
  line-height: 1.13 !important;
  letter-spacing: -.025em !important;
  overflow-wrap: anywhere;
}
body main h1 :is(span, strong, em) {
  font-size: inherit !important;
}
:root body main h1 :is(.proper-name, .brand-name) {
  white-space: normal;
  overflow-wrap: anywhere;
}
.service-link-card > h3 {
  min-block-size: 2.7em;
  line-height: 1.35;
}

/* The floating contact controls do not reserve a strip of page width. */
@media (min-width: 1200px) and (min-height: 620px) and (hover: hover) and (pointer: fine) {
  body:has(.contact-dock) {
    padding-right: 0;
  }
  body:has(.contact-dock) .site-header,
  body:has(.contact-dock) .site-header.is-sticky {
    left: 0;
    right: 0;
    width: 100%;
  }
}
/* One container geometry on every page. A desktop gutter accommodates the
   fixed controls without tying the header or content width to their presence. */
@media (min-width: 1200px) {
  .wrapper,
  .site-footer .footer-shell {
    padding-inline: max(var(--gutter), 72px);
  }
}

body.has-safe-floating-rail .contact-dock .contact-dock__links > a {
  position: relative;
  width: 48px;
  height: 60px;
  min-height: 60px;
  padding: 0;
  justify-content: center;
}
/* Keep the panel's geometry stable during entry and exit. Only opacity and
   position animate; text never has to reflow into a collapsing box. */
body.has-safe-floating-rail .contact-dock .contact-dock__links > a > span {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 3px;
  box-sizing: border-box;
  top: 0;
  right: 100%;
  left: auto;
  width: 19rem;
  min-width: 19rem;
  max-width: calc(100vw - 72px);
  height: 60px;
  margin: 0;
  padding: 8px 16px;
  white-space: nowrap;
  overflow: hidden;
  clip-path: none;
  background: #0f4c81;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
body.has-safe-floating-rail .contact-dock .contact-dock__links > a:is(:hover, :focus-visible) > span {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}
body.has-safe-floating-rail .contact-dock .contact-dock__links > a > span > small {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}
body.has-safe-floating-rail .contact-dock .contact-dock__links > a > span > strong {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  white-space: nowrap;
}
/* Brand-name spans inside the label remain ordinary inline text. Older rail
   rules target every span and otherwise create a second floating blue panel. */
body.has-safe-floating-rail .contact-dock .contact-dock__links > a > span :is(.brand-name, .proper-name) {
  position: static;
  display: inline;
  width: auto;
  min-width: 0;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  clip-path: none;
  overflow: visible;
  opacity: 1;
  visibility: inherit;
  transform: none;
  transition: none;
  background: transparent;
  font: inherit;
}
body.has-safe-floating-rail .contact-dock.is-dismissed .contact-dock__links > a > span {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  body.has-safe-floating-rail .contact-dock .contact-dock__links > a > span {
    transition: none;
  }
}
