/** LEGAL PRO — hub pages + shared homepage blocks */
main.lp-subpage {
  max-width: min(75rem, 100%);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

/* lp-subpage на <section> главной не используем — сброс на случай ошибки */
main.lp-main > section.lp-subpage {
  max-width: none;
  margin: 0;
  padding: 0;
}

.lp-subpage .lp-breadcrumbs {
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-lp-muted, #5c5c5c);
}

.lp-subpage .lp-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.lp-subpage .lp-breadcrumbs a:hover {
  color: var(--color-gold, #c9a962);
}

.lp-subpage-hero {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.lp-subpage-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.75rem;
}

.lp-subpage-hero .lp-section-lead {
  margin-bottom: 0;
}

.lp-home-teaser {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline, rgba(13, 13, 13, 0.12));
}

.lp-home-teaser__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem 0;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--hairline, rgba(13, 13, 13, 0.12));
  align-items: start;
}

.lp-home-teaser__row h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}

.lp-home-teaser__row p {
  margin: 0;
  color: var(--text-muted, var(--color-lp-muted, #404040));
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 38rem;
}

.lp-home-teaser__link {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--lp-ink, var(--color-lp-ink, #0d0d0d));
  white-space: nowrap;
  justify-self: start;
}

.lp-home-teaser__link:hover {
  color: var(--gold, var(--color-gold, #c9a962));
}

.lp-home-teaser__cta {
  margin-top: 1.5rem;
}

.lp-section-cta {
  margin-top: 1.5rem;
}

.lp-section-link-row {
  margin-top: 1.25rem;
}

.pricing-disclaimer {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted, var(--color-lp-muted, #404040));
}

@media (min-width: 768px) {
  .lp-home-teaser__row {
    grid-template-columns: minmax(9.5rem, 11.5rem) minmax(0, 1fr) auto;
    column-gap: clamp(1.25rem, 3vw, 2.5rem);
    row-gap: 0;
    align-items: baseline;
    padding: 1.25rem 0;
  }

  .lp-home-teaser__row h3 {
    grid-column: 1;
    grid-row: 1;
    font-size: 1.2rem;
  }

  .lp-home-teaser__row p {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.95rem;
    max-width: none;
  }

  .lp-home-teaser__link {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: baseline;
  }
}

.lp-trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1px;
  background: var(--hairline, rgba(13, 13, 13, 0.12));
  border: 1px solid var(--hairline, rgba(13, 13, 13, 0.12));
}

.lp-trust-strip__item {
  background: var(--bg-card, var(--color-lp-surface, #fff));
  padding: 1.25rem 1rem;
}

.lp-trust-strip__item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.lp-trust-strip__item span {
  font-size: 0.85rem;
  color: var(--color-lp-muted, #5c5c5c);
  line-height: 1.5;
}

.lp-pricing-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.5rem 0;
}

.lp-pricing-teaser__nums {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}

.lp-pricing-teaser__nums div strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.lp-pricing-teaser__nums div span {
  font-size: 0.78rem;
  color: var(--color-lp-muted, #5c5c5c);
}

.lp-tools-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1px;
  background: var(--hairline, rgba(13, 13, 13, 0.12));
  border: 1px solid var(--hairline, rgba(13, 13, 13, 0.12));
}

.lp-tools-links a {
  display: block;
  background: var(--bg-card, var(--color-lp-surface, #fff));
  padding: 1.25rem 1rem;
  text-decoration: none;
  color: inherit;
}

.lp-tools-links a:hover {
  background: var(--lp-surface, var(--color-ivory, #faf9f7));
}

.lp-tools-links a strong {
  display: block;
  font-family: var(--font-serif);
  margin-bottom: 0.35rem;
}

.lp-tools-links a span {
  font-size: 0.85rem;
  color: var(--color-lp-muted, #5c5c5c);
}
