/*
 * Inner page base — loaded with the tokens on every page that renders a
 * component (inc/components.php), never on the homepage (body.home).
 *
 * Figma phone frames (375 px) use 20 px side margins; the homepage keeps
 * the 15 px gutters of index.css. The desktop content stays 1400 px wide
 * (1440 container − 2 × 20).
 */

/* body:not(.home) [class*="__container"] — 20 px gutters, 1400 px content
   (:where keeps the specificity at one class, so component overrides still win) */
:where(body:not(.home)) [class*="__container"] {
  max-width: 90rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* body:not(.home) heading wrappers — Figma phone frames track every page heading at -4 %, the
   desktop frames at -2 % (set per component). Set on the wrapper, so any tag inside inherits it;
   two classes beat the components' title rules. A new section title wrapper (section-head.php
   prints {prefix}__title) must be added to this list. */
body:not(.home) :is(
  .audience-cards__title,
  .bento-grid__title,
  .business-outcomes__title,
  .capability-grid__title,
  .challenges__title,
  .customer-success__title,
  .faq__title,
  .faq-library__title,
  .icon-grid__title,
  .image-panel__title,
  .industries-we-serve__title,
  .journey-steps__title,
  .learn-agenda__title,
  .link-cards__title,
  .listing__title,
  .mosaic__title,
  .numbered-rows__title,
  .outcomes-showcase__title,
  .persona-cards__title,
  .post-grid__title,
  .post-slider__title,
  .recent-posts__title,
  .resources__title,
  .speaker-profile__title,
  .subscribe__title,
  .subscribe-form__title--main,
  .tag-list__title,
  .testimonial-slider__title,
  .what-matters__title,
  .why-naviona__title,
  .modal__title,
  .hero__heading,
  .cta__heading,
  .registration-success__heading,
  .entry-header,
  .page-header
) {
  /* @media (width < 48em) body:not(.home) heading wrappers */
  @media (width < 48em) {
    letter-spacing: -0.04em;
  }
}
