.partner-page { color: #1d2939; }
.partner-page section { scroll-margin-top: 5rem; }
.partner-page section > .max-w-7xl,
.partner-page section > .max-w-6xl,
.partner-page section > .max-w-5xl,
.partner-page section > .max-w-4xl { width: min(100% - 2rem, 1200px); }
.partner-page .hero-gradient h1 { max-width: 920px; margin-inline: auto; text-wrap: balance; }
.partner-page .hero-gradient p { max-width: 760px; margin-inline: auto; }
.partner-page .partnership-card,
.partner-page .benefit-card { border-radius: 1.15rem; }

@media (max-width: 640px) {
  .partner-page section { padding-block: 2.75rem !important; }
  .partner-page .hero-gradient { min-height: 0 !important; padding-block: 4rem !important; }
  .partner-page .hero-gradient h1 { font-size: 2.25rem !important; line-height: 1.08 !important; }
  .partner-page section h2 { font-size: 1.75rem !important; line-height: 1.15 !important; text-wrap: balance; }
  .partner-page section .grid:not(.partner-static-grid) { display: flex !important; gap: .85rem !important; margin-inline: -1rem; padding: .25rem 1rem .9rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-padding-inline: 1rem; scroll-snap-type: inline mandatory; scrollbar-width: thin; }
  .partner-page section .grid:not(.partner-static-grid) > * { min-width: 0; flex: 0 0 min(84vw, 320px); scroll-snap-align: start; }
  .partner-page section .grid:not(.partner-static-grid):focus-visible { outline: 3px solid #818cf8; outline-offset: 2px; border-radius: 1rem; }
  .partner-page .section-divider { margin-block: 2rem !important; }
}

@media (prefers-reduced-motion: reduce) {
  .partner-page *,
  .partner-page *::before,
  .partner-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
