/* Home page refinement layer — visual only, no content changes. Loaded last. */
html body .homepage-story-hero p,
html body main p { text-align: left !important; word-spacing: normal !important; letter-spacing: 0 !important; }

/* Heading hierarchy: stronger, consistent weights */
main h1, main .homepage-story-hero h1, main .homepage-story-hero h2 {
  font-weight: 600 !important; letter-spacing: -0.02em !important; line-height: 1.12 !important;
}
main section > .wrap h2, main .site-content-heading, main h2 {
  font-weight: 600 !important; letter-spacing: -0.018em !important; line-height: 1.15 !important;
  color: #1c1f4a;
}
main h3 { font-weight: 600 !important; letter-spacing: -0.01em !important; }
main .lead, main .home-section-intro { color: #4a4f6e !important; line-height: 1.65 !important; max-width: 68ch; }

/* Rhythm: consistent section spacing, calmer outlines */
main > section.section, main > section.aiw, main > section.cta-band {
  padding-top: clamp(36px, 4vw, 56px) !important; padding-bottom: clamp(36px, 4vw, 56px) !important;
}
main > .home-silk-divider { margin: 0 !important; opacity: .55; }
.home-section-outline { opacity: .45 !important; }

/* Cards: quieter borders, softer depth, gentle lift */
main article, main .card {
  border-color: rgba(28, 31, 74, .08) !important;
  box-shadow: 0 1px 2px rgba(28,31,74,.04), 0 12px 32px -18px rgba(28,31,74,.18) !important;
  transition: transform .25s ease, box-shadow .25s ease;
}
main article:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(28,31,74,.05), 0 22px 44px -20px rgba(231,20,103,.28) !important;
}

/* Fix: partner on dark tile was unreadable */
html body .partner-directory-item.partner-directory-item--inverted h3,
html body .partner-directory-item.partner-directory-item--inverted .partner-brand-link h3,
html body .partner-directory-item.partner-directory-item--inverted p { color: #fff !important; }

/* Fix: closing heading was invisible on the light band */
.cta-band #homepage-closing-heading { color: #1c1f4a !important; -webkit-text-fill-color: #1c1f4a !important; background: none !important; }
.cta-band { border-radius: 28px; }

html body .partner-directory-item--inverted h3 { -webkit-text-fill-color:#fff !important; opacity:1 !important; }
#homepage-ai .lead, #homepage-ai .home-section-intro, #homepage-ai p { max-width: none !important; }
