/* Site-wide typography: Onest in page content (header/footer and the home hero keep their fonts).
   Same scale as /marketing/: semibold headings, light leads, plain small labels. */
:root {
  --site-font: 'Onest', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --site-lead: #6b7079;
}
main :not(.hero-lux, .hero-lux *, svg, svg *, code, pre, kbd) { font-family: var(--site-font) !important; }

/* headings */
main :is(h1, h2):not(.hero-lux *) { font-weight: 600 !important; letter-spacing: -0.03em; }
main h3:not(.hero-lux *) { font-weight: 600 !important; letter-spacing: -0.015em; }
main :is(h4, h5):not(.hero-lux *) { font-weight: 600 !important; }

/* section labels: plain small text instead of yellow uppercase pills */
main :is(.services-kit__label, .cases-kit__label, .home-blog__label, .section__label, .why-choose__label, .about-team__label, .brands-marquee__label, .why-kit__label) {
  display: block; width: auto; margin: 0 0 0.6rem; padding: 0;
  background: none !important; border: 0; box-shadow: none;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1.3;
  color: var(--color-text-muted) !important;
}
main :is(.services-kit__label, .cases-kit__label, .home-blog__label, .section__label, .why-kit__label)::before { display: none; }

/* leads under section titles: light */
main :is(.services-kit__lead, .cases-kit__lead, .page-intro__text, .section__subtitle, .why-choose__lead, .home-blog__lead, .brands-marquee__lead, .kit-bonuses__lead, .about-team__lead):not(.hero-lux *) {
  font-weight: 300; line-height: 1.6; color: var(--site-lead);
}
main .cta-kit__text { font-weight: 300; }

/* small uppercase tags in cards: calmer */
main :is(.services-kit__card-tag, .promo-work-card__tag, .support-card__tag, .cases-kit__badge) { letter-spacing: 0.01em; }

/* body copy */
main :is(p, li):not(.hero-lux *) { font-weight: inherit; }
main :is(.btn, button):not(.hero-lux *) { font-weight: 600; }

/* blog/case article prose */
main :is(.blog-article__content, .case-story__content, .story-section) p { font-weight: 400; }

/* lead size: never tiny */
main :is(.services-kit__lead, .cases-kit__lead, .page-intro__text, .section__subtitle, .section__lead, .why-choose__lead, .home-blog__lead, .brands-marquee__lead, .kit-bonuses__lead):not(.hero-lux *) {
  font-size: 1.02rem;
}
main .cases-kit__card-title { font-size: 1.5rem; letter-spacing: -0.025em; }
main :is(.cases-kit__badge, .cases-kit__link) { font-weight: 600; }
@media (max-width: 767px) {
  main :is(.services-kit__lead, .cases-kit__lead, .page-intro__text, .section__subtitle, .section__lead, .why-choose__lead, .home-blog__lead, .brands-marquee__lead, .kit-bonuses__lead):not(.hero-lux *) { font-size: 0.96rem; }
  main .cases-kit__card-title { font-size: 1.3rem; }
}

/* ---------- /support/: one scale for all sections ---------- */
.page-support main section h2:not(.cta-kit__title) {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem); line-height: 1.1;
}
.page-support main .section__title { margin-bottom: 0.9rem; }
.page-support main section h3:not(.cases-kit__card-title):not(.why-choose__card-title) { font-size: 1.08rem; line-height: 1.3; }
.page-support main section :is(p, li):not(.services-kit__lead):not(.page-intro__text):not(.section__lead):not(.cases-kit__lead) { font-size: max(0.9rem, 1em); line-height: 1.6; }
.page-support main strong { font-weight: 600; }
.page-support main li.is-key { font-weight: 600; }
.page-support main .support-tariff-card__price { font-weight: 700; letter-spacing: -0.03em; }
.page-support main section .support-tariff-card h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.page-support main .section__lead { font-size: 1.02rem; font-weight: 300; color: var(--site-lead); }

/* labels on dark sections stay readable */
main :is(.section--services-stack, .section--about-team, .section--cta-kit, .promo-info-card--next, [class*="--dark"]) :is(.services-kit__label, .cases-kit__label, .section__label) { color: rgba(255, 255, 255, 0.6) !important; }
html.dark main :is(.services-kit__label, .cases-kit__label, .home-blog__label, .section__label, .why-choose__label, .about-team__label, .brands-marquee__label, .why-kit__label) { color: #a3a3ad !important; }
