/* Partner page: match the text rendering and heading rhythm of the other service pages
   (measured against /functions/, /flow/ and /features/ on 2026-11-06). */

/* 1. Other pages use the browser's default smoothing; the partner page forced the thinner "antialiased" look. */
body.page-partner .partner-page,
body.page-partner .partner-page * {
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

/* 2. Section headings: same letter spacing as .ttl-01 on the other pages (2.24px; was 0.6px). */
body.page-partner .partner-page h2 { letter-spacing: 2.24px; }

/* 3. English label under a section heading: same weight, spacing and colour as .subtitle-md,
      and directly under the heading (it used to follow the lead paragraph). */
body.page-partner .partner-page .lp-inner > div:has(> h2 ~ span) { display: flex; flex-direction: column; }
body.page-partner .partner-page .lp-inner > div > h2 { order: 1; }
body.page-partner .partner-page .lp-inner > div > h2 ~ span { order: 2; margin-top: 8px; font-weight: 700; letter-spacing: .54px; line-height: 1.4; }
body.page-partner .partner-page .lp-inner > div > h2 ~ p { order: 3; }
body.page-partner .partner-page .lp-section:not(.text-white) .lp-inner > div > h2 ~ span { color: #454b54; }

/* 4. "TYPE 01" card: the header fill follows the inside of the 2px border
      (card radius 8px minus the 2px border = 6px; it was 10px, which left a gap in the top corners). */
body.page-partner .partner-page article.border-2 > [class*="rounded-t-"] {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
/* Any hairline left between the border curve and the header fill shows the header's blue, not white:
   the card's own background (which is clipped exactly to the border) carries the same gradient at the top. */
body.page-partner .partner-page article.border-2 {
  background-image: linear-gradient(90deg, var(--brand-light), color-mix(in oklab, var(--brand-light), var(--brand-deep)));
  background-size: 100% 24px;
  background-repeat: no-repeat;
}
