/* Lead Management page redesign.
   All overrides are scoped so the shared Field Force design system remains unchanged. */
.lm-page {
  --lm-blue: #2c67f2;
  --lm-cyan: #62cff4;
  --lm-deep: #061a35;
}

.lm-page .lm-hero {
  background-color: #061a35;
  background-image: linear-gradient(180deg, #061a35 0%, #0b3a68 33%, #165e9e 66%, #3284ce 100%);
}

.lm-page .ffm-nav-shell .sub-menu.triple .box .menu-items {
  display: flex;
  align-items: center;
}

.lm-page .ffm-nav-shell .sub-menu.triple .box .menu-items img {
  display: inline-block;
  flex: 0 0 auto;
}

.lm-page main .lm-hero h1 {
  max-width: 980px;
  font-size: clamp(38px, 3.2vw, 46px) !important;
  text-wrap: balance;
}

.lm-page main .lm-hero .ffm-hero-eyebrow {
  font-size: 18px !important;
}

.lm-page main .lm-hero-inner > p:not(.ffm-hero-eyebrow) {
  font-size: 16px !important;
}

.lm-page .lm-hero-title-gradient {
  display: inline-block;
  color: #2c67f2;
  background: linear-gradient(90deg, #62cff4 0%, #2c67f2 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.lm-page .lm-hero-rotator {
  width: 6.4em;
  min-width: 6.4em;
  flex: 0 0 6.4em;
}

.lm-page .lm-hero-rotator .ffm-hero-rotating-text {
  min-width: 100%;
  text-align: left;
}

.lm-page main .lm-hero .lm-hero-proof {
  max-width: 880px;
  margin-top: 18px;
  color: #fff;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

.lm-page .lm-hero-image-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 700px);
  box-sizing: border-box;
  aspect-ratio: auto;
  margin: 32px auto -22%;
  padding: 14px;
  overflow: visible;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, #62cff4 0%, #3284ce 100%);
  box-shadow: 0 24px 48px rgba(2, 22, 48, 0.18);
}

.lm-page .lm-hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: contain;
}

.lm-page .ffm-logo-section .company-logo-heading-text {
  font-weight: 500;
}

.lm-page .ffm-logo-section .company-logo-image {
  width: calc(100% - 24px);
  max-width: 164px;
  height: 64px;
}

.lm-page .lm-challenge .ffm-challenge-copy h2 {
  max-width: 780px;
}

.lm-page .lm-challenge .ffm-accent-copy {
  max-width: 760px;
}

.lm-page .lm-challenge .ffm-demo-card h3 {
  text-align: left;
}

.lm-page main .lm-challenge-copy .ffm-worldwide-trust {
  margin-top: 18px;
  font-size: 14px !important;
  line-height: 1.25 !important;
}

.lm-page main .ffm-demo-card > .lm-form-supporting {
  margin: 12px 0 18px;
  font-size: 16px !important;
  line-height: 1.4 !important;
}

.lm-page main .lm-how .ffm-section-heading > p {
  max-width: 960px;
  margin: 20px auto 0;
  font-size: clamp(18px, 1.5vw, 22px) !important;
  line-height: 1.35 !important;
  text-align: center;
  white-space: normal;
}

.lm-page main .ffm-mid-cta h2 {
  max-width: 1100px;
  font-size: clamp(48px, 3.65vw, 60px) !important;
  line-height: 1.08 !important;
}

.lm-page main .ffm-mid-cta p {
  max-width: 920px;
  margin: 34px auto 48px;
  font-size: 18px !important;
  line-height: 1.5 !important;
  text-align: center;
  text-wrap: balance;
}

.lm-page .lm-industries {
  background: #fff;
}

.lm-page .ffm-industries .ffm-section-heading {
  max-width: 1300px;
}

.lm-page .lm-industries .ffm-industry-track {
  padding: 12px 0 20px;
  grid-auto-columns: calc((100% - 72px) / 4);
  gap: 24px;
  align-items: stretch;
}

.lm-page .ffm-industries .ffm-industry-capabilities {
  display: grid;
  min-height: 56px;
  grid-template-columns: repeat(2, max-content);
  align-content: start;
  justify-content: start;
  justify-items: stretch;
}

.lm-page .ffm-industries .ffm-industry-capabilities li {
  max-width: none;
  padding-right: 5px;
  padding-left: 5px;
  font-size: clamp(8px, 0.59vw, 9px);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.lm-page .ffm-industries .ffm-industry-capabilities li::before {
  width: 10px;
  height: 10px;
  margin-right: 3px;
  flex: 0 0 10px;
  font-size: 7px;
}

.lm-page .lm-industries .lm-industry-card {
  height: 464px;
  min-height: 0;
}

.lm-page .lm-industries .lm-industry-card > img {
  width: calc(100% - 28px);
  height: 160px;
  flex: 0 0 160px;
  margin: 14px;
}

.lm-page .lm-industries .lm-industry-card .ffm-industry-card-body {
  min-height: 0;
  padding: 4px 16px 24px;
}

.lm-page main .lm-industries .lm-industry-card h3 {
  min-height: 2.3em;
  margin-bottom: 10px;
  font-size: 18px !important;
  line-height: 1.15 !important;
}

.lm-page main .lm-industries .lm-industry-card p {
  display: -webkit-box;
  min-height: 4.2em;
  margin-bottom: 12px;
  overflow: hidden;
  font-size: 14px !important;
  line-height: 1.4 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.lm-page .lm-industries .lm-industry-card .ffm-industry-card-body::after {
  font-size: 16px;
}

.lm-page .lm-impact .ffm-section-heading {
  margin-bottom: 0;
}

.lm-page main .lm-impact .ffm-impact-card strong {
  color: var(--lm-blue) !important;
}

.lm-page .lm-impact .lm-up-to {
  margin-bottom: 10px;
  color: #536b81;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
}

.lm-page .lm-attribution {
  max-width: 940px;
  margin: 34px auto 0;
  color: #536b81;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.lm-page .lm-ecosystem {
  background: #fff;
}

.lm-page .ffm-faq-accordion .accordion-button {
  font-weight: 400 !important;
}

.lm-page footer .website-footer {
  margin-top: 0;
}

@media (max-width: 1199px) {
  .lm-page main .lm-hero h1 {
    font-size: clamp(36px, 3.7vw, 40px) !important;
  }

  .lm-page .lm-industries .ffm-industry-track {
    grid-auto-columns: calc((100% - 48px) / 3);
  }
}

@media (min-width: 1200px) {
  .lm-page main .ffm-industries .ffm-section-heading h2 {
    font-size: clamp(34px, 2.8vw, 38px) !important;
    white-space: nowrap;
  }
}

@media (max-width: 991px) {
  .lm-page .lm-industries .ffm-industry-track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }

  .lm-page .ffm-industries .ffm-industry-capabilities li {
    font-size: 10px;
    letter-spacing: normal;
  }

  .lm-page .lm-ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .lm-page .lm-hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .lm-page .lm-hero .ffm-hero-inner {
    width: 100%;
  }

  .lm-page main .lm-hero h1 {
    font-size: clamp(28px, 7.3vw, 32px) !important;
  }

  .lm-page main .lm-hero .ffm-hero-eyebrow {
    font-size: 16px !important;
  }

  .lm-page main .lm-hero-inner > p:not(.ffm-hero-eyebrow) {
    font-size: 14px !important;
  }

  .lm-page .lm-hero .ffm-hero-title-fixed {
    white-space: normal;
  }

  .lm-page .lm-hero .ffm-hero-second-line {
    height: auto;
    flex-wrap: wrap;
    white-space: normal;
  }

  .lm-page .lm-hero-image-frame {
    padding: 8px;
    border-radius: 20px;
    box-shadow: 0 18px 36px rgba(2, 22, 48, 0.16);
  }

  .lm-page .lm-hero-image {
    border-radius: 13px;
  }

  .lm-page main .lm-hero .lm-hero-proof {
    font-size: 14px !important;
  }

  .lm-page main .ffm-mid-cta h2 {
    font-size: clamp(32px, 8vw, 40px) !important;
  }

  .lm-page main .ffm-mid-cta p {
    max-width: 34ch;
    margin: 24px auto 32px;
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  .lm-page .lm-ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .lm-page .lm-ecosystem-card {
    min-height: 270px;
  }
}

@media (max-width: 640px) {
  .lm-page .lm-industries .ffm-industry-track {
    grid-auto-columns: 85%;
  }

  .lm-page .lm-industries .lm-industry-card {
    height: 464px;
  }

  .lm-page .lm-industries .lm-industry-card > img {
    height: 160px;
    flex-basis: 160px;
  }
}

@media (max-width: 479px) {
  .lm-page main .lm-hero h1 {
    font-size: clamp(26px, 7.5vw, 29px) !important;
  }

}

@media (prefers-reduced-motion: reduce) {
  .lm-page [data-lm-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
