/* Shared editorial type scale for the nine service pages in the main menu.
   A dedicated cascade layer lets these decisions supersede earlier local
   !important rules without adding selector-specificity hacks. */
@layer service-type {
html body main h2 {
  font-family: "Manrope", sans-serif !important;
  font-size: clamp(2rem, 3.25vw, 3rem) !important;
  font-weight: 800 !important;
  line-height: 1.14 !important;
  letter-spacing: -0.035em !important;
  text-wrap: balance;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: manual !important;
}

html body main h2 span {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
}

html body main h2 > span {
  color: #1e7a16 !important;
  -webkit-text-fill-color: currentColor !important;
}

html body main h2[data-service-tone="dark"] > span {
  color: #6cf023 !important;
}

html body main #guarantees h2 > span,
html body main #guarantees .aud-guar-heading-accent {
  color: #5ee118 !important;
  -webkit-text-fill-color: #5ee118 !important;
  text-shadow: 0 0 28px rgba(94, 225, 24, 0.32) !important;
}

html body main #process h2 > span,
html body main #process .tz-process-title-green {
  color: #16a34a !important;
  -webkit-text-fill-color: #16a34a !important;
}

html body main h3 {
  font-family: "Manrope", sans-serif !important;
  font-size: clamp(1.125rem, 1.3vw, 1.1875rem) !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: manual !important;
}

html body main .stoimost-side-info h2,
html body main #tz-b03-title {
  font-size: clamp(2rem, 2.8vw, 2.625rem) !important;
}

html body main .gads-related-wrap > * {
  min-width: 0;
}

html body main .gads-related-sidebar h2 {
  max-width: 100% !important;
  font-size: clamp(2rem, 2.8vw, 2.75rem) !important;
}

@media (max-width: 900px) {
  html body main #formats.maxm-sec .maxm-formats-split {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body main #formats.maxm-sec .maxm-formats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body main #segments.tgr-audience .tgr-audience-item h3 {
    font-size: 1.0625rem !important;
  }
}

/* Section introductions share one readable body scale. Compact labels and
   supporting text inside cards keep their own smaller component scale. */
html body main :is(
  .gads-lead, .gads-steps-lead, .dn-audience-intro > p,
  .tg-platforms-lead > p, .tg-bento-subtitle,
  .vkm-desc, .vkm-guar-lead, .vk-benefits__copy > p,
  .tgr-lead, .tgr-audience-intro > p,
  .maxm-desc, .max-guar-desc,
  .media-audience__lead, .med-adv-lead, .media-process__lead,
  .aim-lead, .aud-subtitle,
  .tzr-lead, .tz-inc-lead,
  .sec-sub, .dn-section-head > p
) {
  font-family: "Manrope", sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
}

@media (max-width: 767px) {
  html body main h2 {
    font-size: clamp(1.875rem, 8vw, 2.375rem) !important;
    line-height: 1.16 !important;
  }

  html body main h3 {
    font-size: 1.125rem !important;
  }

  html body main #segments.media-audience .media-audience__card h3 {
    font-size: 1.0625rem !important;
  }

  html body main #how-we-work .tg-section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }

  html body main #how-we-work .tg-section-header h2 {
    width: 100% !important;
  }

  html body main #formats.maxm-sec .maxm-formats-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

}
