/* Mobile-only display and line-break safeguards. Copy rules are shared with desktop. */
html,
body {
  overflow-x: clip;
}

.services-heading,
.service-grid {
  width: 100%;
  min-width: 0;
}
.services-heading h2 {
  font-size: clamp(1.85rem, 8.4vw, 2.3rem);
}
.service-grid a {
  width: 100%;
  max-width: 100%;
}

.hero {
  padding-inline: 14px;
  overflow: hidden;
}
.hero-copy,
.hero-actions,
.hero .button-character {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.hero-copy {
  padding-inline: 4px;
}
.hero h1 {
  max-width: 100%;
  font-size: clamp(2.75rem, 14vw, 3.65rem);
}
.hero-line {
  max-width: 100%;
}
.hero .hero-line:nth-child(2) {
  padding-right: 0.18em;
  overflow: visible;
}
.hero-lead,
.lead-line {
  max-width: 100%;
  word-break: normal;
  overflow-wrap: break-word;
}
.hero h1,
.hero-promise,
.story-intro h2,
.services h2,
.final-cta h2,
.page-promise h3,
.color-turn strong,
.hero-lead,
.story-intro > p:last-child,
.page-promise p,
.services-heading > p:last-child,
.final-cta > p:not(.section-kicker),
.page-promise a,
.service-cta span,
.button,
.mobile-cta {
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: wrap;
}
.services-heading h2 span {
  white-space: normal;
}
.hero .button-character {
  gap: 10px;
  padding-right: 14px;
}
.cta-button-copy {
  min-width: 0;
}
.cta-button-copy b {
  white-space: normal;
}
.cta-button-arrow {
  flex: 0 0 auto;
  margin-left: 2px;
}
.hero-preview {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  border-width: 4px;
  transform: none;
  box-shadow:
    5px 5px 0 rgba(10, 115, 242, 0.62),
    0 14px 30px rgba(7, 25, 79, 0.16);
}
.hero-preview img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

footer {
  grid-template-columns: 1fr;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 118px;
}
.footer-main,
.footer-contact,
.footer-copy {
  grid-column: auto;
}
.footer-main {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}
.footer-brand .brand-logo {
  width: 132px;
}
.footer-contact {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  gap: 0;
  padding-top: 8px;
}
.footer-contact a {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0;
  background: transparent;
}
.footer-contact a:last-child {
  grid-column: auto;
  border-bottom: 0;
}
.footer-contact strong {
  overflow-wrap: anywhere;
}
.footer-contact a[href^="tel"] strong {
  white-space: nowrap;
  font-size: 0.78rem;
}
.footer-copy {
  padding-top: 10px;
  text-align: left;
}
