/* ==========================================================================
   Lead distribution software landing page
   Loaded only for layout: lead-distribution, on top of feature.css and
   feature-theme.css, so every hero, group, item and related-panel style is
   shared with the feature pages. This file only adds the page-specific
   blocks (flow, models, steps, tiles, pills, checklist, comparison table).
   ========================================================================== */

.lds-page .ftp-hero-visual .ftp-item-frame {
  max-width: 560px;
}

.lds-page .ftp-hero-visual .ftp-item-frame img {
  box-shadow: 0 24px 48px rgba(0, 47, 108, 0.18);
  background: #fff;
}

.lds-page .ftp-hero-content > p {
  max-width: 560px;
  color: #4b5262;
}

.lds-groups {
  margin-top: 8px;
}

.lds-section .ftp-group-head {
  max-width: 720px;
}

.lds-section .ftp-item-body .ftp-group-tag {
  margin-bottom: 0;
}

.lds-section .ftp-item-heading h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.lds-p {
  color: #4b5262;
  font-size: 17.5px;
  line-height: 1.6;
  margin: 0 0 16px;
}

/* Inline arrow links */

.lds-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--new-blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 6px;
}

.lds-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.lds-link:hover svg {
  transform: translateX(3px);
}

.lds-link--muted {
  color: #3f4552;
}

.lds-link--muted:hover {
  color: var(--new-blue);
}

.lds-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 8px;
}

.lds-after {
  margin-top: 28px;
}

.lds-highlights-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  max-width: none;
}

/* Section 1: definition + flow */

.lds-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}

.lds-intro-text .ftp-group-head {
  margin-bottom: 20px;
}

.lds-flow-card {
  background: #fff;
  border: 1px solid #e1e6ef;
  border-radius: 20px;
  padding: 28px 28px 24px;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.06);
}

.lds-flow-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f6470;
  margin: 0 0 18px;
}

.lds-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lds-flow li {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 10px 0;
}

.lds-flow li + li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: -6px;
  width: 2px;
  height: 16px;
  background: #d7e3f6;
}

.lds-flow-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #eaf1ff;
  color: var(--new-blue);
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lds-flow-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.lds-flow-body strong {
  font-size: 16px;
  color: var(--black);
}

.lds-flow-body span {
  font-size: 14px;
  line-height: 1.5;
  color: #5f6470;
}

/* Section 4: exclusive vs shared */

.lds-models {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.lds-model {
  position: relative;
  background: #fff;
  border: 1px solid #e1e6ef;
  border-radius: 18px;
  padding: 30px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lds-model::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--new-blue), var(--orange));
}

.lds-model-badge {
  align-self: flex-start;
  border-radius: 999px;
  border: 1px solid #b8c2d1;
  background: #f2f4f7;
  color: #445064;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  line-height: 1;
}

.lds-model h3 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.lds-model p {
  font-size: 16px;
  line-height: 1.6;
  color: #4b5262;
  margin: 0;
}

/* Section 5: retries and fallback */

.lds-recovery {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.lds-recovery-head {
  margin-bottom: 0;
}

.lds-recovery-head h2 {
  font-size: 36px;
}

.lds-recovery-head .lds-links {
  margin-top: 18px;
}

.lds-tag--orange {
  color: var(--orange-dark);
}

.lds-tag--orange::before {
  background: var(--new-blue);
}

.lds-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lds-step {
  position: relative;
  background: #fff;
  border: 1px solid #e1e6ef;
  border-radius: 16px;
  padding: 22px 24px 22px 76px;
}

.lds-step-num {
  position: absolute;
  left: 24px;
  top: 22px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(140deg, #00305e 0%, #0054a6 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lds-step h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 6px;
}

.lds-step p {
  font-size: 15.5px;
  line-height: 1.55;
  color: #4b5262;
  margin: 0;
}

/* Tiles and cards */

.lds-grid {
  display: grid;
  gap: 16px;
}

.lds-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lds-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.lds-tile {
  background: #fff;
  border: 1px solid #e1e6ef;
  border-radius: 14px;
  padding: 20px 20px 18px;
  min-width: 0;
}

.lds-tile h3 {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 6px;
}

.lds-tile p {
  font-size: 14.5px;
  line-height: 1.55;
  color: #5f6470;
  margin: 0;
}

.lds-tile--plug {
  border-top: 3px solid var(--blue-300);
}

.lds-card {
  background: #fff;
  border: 1px solid #e1e6ef;
  border-radius: 16px;
  padding: 24px 22px 22px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lds-card:hover {
  transform: translateY(-2px);
  border-color: #cad9f3;
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.08);
}

.lds-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #eaf1ff;
  color: var(--new-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lds-card-icon svg {
  width: 22px;
  height: 22px;
}

.lds-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  margin: 4px 0 0;
}

.lds-card p {
  font-size: 15px;
  line-height: 1.55;
  color: #4b5262;
  margin: 0;
}

.lds-card--benefit .lds-card-icon {
  background: #fff6e8;
  color: var(--orange-dark);
}

/* Section 7: outcome pills */

.lds-pills-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 2px;
}

.lds-pills-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f6470;
}

.lds-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lds-pill {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid #d7dde5;
  background: #f2f4f7;
  color: #445064;
}

.lds-pill--contacted {
  border-color: #b0cbff;
  background: #eaf1ff;
  color: #0f5fd7;
}

.lds-pill--qualified {
  border-color: #8fe0d0;
  background: #e9fbf6;
  color: #0d8a72;
}

.lds-pill--converted {
  border-color: #9fd6a9;
  background: #eafbee;
  color: #237a3a;
}

.lds-pill--invalid,
.lds-pill--duplicate {
  border-color: #f5b5bb;
  background: #fdeff0;
  color: #b3232e;
}

.lds-pill--unreachable {
  border-color: #ffcf86;
  background: #fff6e8;
  color: #b5690a;
}

/* Section 8: reporting */

.lds-reporting {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}

.lds-shot img {
  border-radius: 14px;
  border: 1px solid #e1e6ef;
  box-shadow: 0 18px 40px rgba(0, 47, 108, 0.12);
  background: #fff;
}

.lds-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lds-checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  color: #3f4552;
}

.lds-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: var(--blue-150);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='7' viewBox='0 0 9 7' fill='none'%3E%3Cpath d='M1 3.5L3.2 5.7L8 1' stroke='%23005CA9' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.lds-reporting-list .lds-links {
  margin-top: 22px;
}

/* Section 12: comparison table */

.lds-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e1e6ef;
  border-radius: 16px;
  background: #fff;
}

.lds-compare {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
}

.lds-compare thead th {
  background: #f7f9fc;
  color: #5f6470;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid #e1e6ef;
}

.lds-compare tbody th,
.lds-compare tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid #eceef2;
  text-align: left;
  vertical-align: middle;
  line-height: 1.4;
}

.lds-compare tbody tr:last-child th,
.lds-compare tbody tr:last-child td {
  border-bottom: none;
}

.lds-compare tbody th {
  font-weight: 700;
  color: var(--black);
  background: #fff;
  position: sticky;
  left: 0;
  z-index: 1;
  box-shadow: 1px 0 0 #eceef2;
}

.lds-compare thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
}

.lds-compare tbody tr:nth-child(even) th,
.lds-compare tbody tr:nth-child(even) td {
  background: var(--blue-150);
}

.lds-compare .lds-compare-vertikl {
  background: #eaf1ff;
  color: var(--dark-blue);
}

.lds-compare thead th.lds-compare-vertikl {
  color: var(--new-blue);
}

.lds-compare tbody tr:nth-child(even) td.lds-compare-vertikl {
  background: #e1ebff;
}

.lds-cell {
  color: #4b5262;
  white-space: nowrap;
}

.lds-cell svg {
  width: 18px;
  height: 18px;
  vertical-align: -4px;
  margin-right: 8px;
}

.lds-cell--yes {
  font-weight: 700;
}

/* FAQ spacing on this page */

.lds-page .faq-container {
  margin-top: 24px;
}

.lds-page .faq-inner a {
  font-size: inherit;
  line-height: inherit;
  color: var(--new-blue);
  font-weight: 600;
  text-decoration: underline;
}

/* Final CTA */

.lds-final-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lds-cta-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: #3f4552;
}

.lds-cta-note img {
  width: 16px;
  height: 16px;
}

/* Resources */

.lds-resources {
  margin-top: 16px;
  margin-bottom: 8px;
}

.lds-resources .ftp-related-item-tagline {
  white-space: normal;
}

/* Responsive */

@media (max-width: 1200px) {
  .lds-grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lds-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .lds-intro,
  .lds-recovery,
  .lds-reporting {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .lds-reporting-visual {
    order: 2;
  }

  .lds-section .ftp-item-heading h2 {
    font-size: 28px;
  }

  .lds-highlights-2col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .lds-grid--5,
  .lds-grid--4,
  .lds-models {
    grid-template-columns: 1fr;
  }

  .lds-section .ftp-item-heading h2 {
    font-size: 24px;
  }

  .lds-recovery-head h2 {
    font-size: 26px;
  }

  .lds-flow-card {
    padding: 22px 18px 18px;
  }

  .lds-model {
    padding: 24px 20px 22px;
  }

  .lds-step {
    padding: 18px 18px 18px 66px;
  }

  .lds-step-num {
    left: 18px;
    top: 18px;
    width: 32px;
    height: 32px;
  }

  .lds-page .ftp-hero .features-hero-title {
    font-size: 36px;
  }

  .lds-page .ftp-hero-content > p {
    font-size: 17px;
  }

  .lds-links {
    align-items: flex-start;
  }

  .lds-link svg {
    margin-top: 2px;
  }

  /* Comparison table becomes a stack of cards: one card per capability,
     every column visible without horizontal scrolling. */
  .lds-table-wrap {
    overflow: visible;
    border: none;
    background: transparent;
  }

  .lds-compare {
    min-width: 0;
    font-size: 14px;
    border-spacing: 0 12px;
    margin-top: -12px;
  }

  .lds-compare thead {
    display: none;
  }

  .lds-compare,
  .lds-compare tbody,
  .lds-compare tbody tr {
    display: block;
    width: 100%;
  }

  .lds-compare tbody tr {
    background: #fff;
    border: 1px solid #e1e6ef;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 12px;
  }

  .lds-compare tbody th,
  .lds-compare tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 16px;
    border-bottom: 1px solid #eceef2;
    position: static;
    box-shadow: none;
  }

  .lds-compare tbody th {
    font-size: 15px;
    background: #f7f9fc !important;
  }

  .lds-compare tbody tr:nth-child(even) th,
  .lds-compare tbody tr:nth-child(even) td {
    background: #fff;
  }

  .lds-compare tbody td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #5f6470;
  }

  .lds-compare tbody td.lds-compare-vertikl,
  .lds-compare tbody tr:nth-child(even) td.lds-compare-vertikl {
    background: #eaf1ff;
  }

  .lds-compare tbody td.lds-compare-vertikl::before {
    color: var(--new-blue);
  }

  .lds-cell svg {
    margin-right: 6px;
  }
}

@media (max-width: 480px) {
  .lds-grid--5,
  .lds-grid--4 {
    grid-template-columns: 1fr;
  }

  .lds-p {
    font-size: 16px;
  }
}
