/* Use the same ink as the Mini App's .header-name. Scope it to editorial
   headings so product windows retain their own typography and status colours. */
@media screen and (forced-colors: none) {
  @supports (background-clip: text) or (-webkit-background-clip: text) {
    :is(
      .rank-hero h1 > span,
      .rank-section-intro > h2,
      .workflow-heading > h2,
      .workflow-note > h3,
      .cap-stage > article > h3,
      .cap-footnotes > article > h3,
      .rank-plans > article > h3,
      .guide-topic > h3,
      .editorial-title,
      .guide-start > h2,
      .guide-library-section > h2,
      .guide-library-list h3
    ) {
      inline-size: fit-content;
      max-inline-size: 100%;
      background-color: currentColor;
      background-image: var(--brand-name-gradient);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    /* The tight display line ends above Geologica’s Cyrillic descenders.
       Extend the gradient's paint area while keeping the next row in place. */
    :is(#features-title, #guides-title, .guide-masthead .editorial-title) {
      padding-block-end: .12em;
      margin-block-end: -.12em;
    }
  }
}

