.home-api-promo { background: #f1f5ff; border-block: 1px solid #dce5fb; }
.home-api-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 30px; }
.home-api-copy { min-width: 0; max-width: 700px; }
.home-api-copy h2 { font-size: 24px; line-height: 1.5; font-weight: 650; }
.home-api-copy p { margin-top: 8px; color: #475875; font-size: 14px; line-height: 1.85; }
.home-api-copy .home-api-note { margin-top: 5px; font-size: 12px; }
.home-api-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; flex-shrink: 0; }
.home-api-primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 170px; min-height: 46px; padding: 10px 18px; border-radius: 4px; background: #2459ec; color: #fff; font-weight: 550; }
.home-api-primary img { filter: invert(1); }
.home-api-primary:hover { background: #1947c9; }
.home-api-secondary { display: inline-flex; align-items: center; min-height: 32px; color: #1947c9; text-underline-offset: 4px; }
.home-api-secondary:hover { text-decoration: underline; }
.api-entry-nav .navlinks a { display: inline-flex; align-items: center; min-height: 44px; }
.api-entry-nav .navlinks a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.api-entry-nav .nav-right a { color: #dce6f2; }
.api-entry-nav .nav-right a:hover { color: #fff; }
@media (max-width: 1100px) {
  header.api-entry-nav { height: auto; min-height: 72px; flex-wrap: wrap; gap: 4px 18px; padding-top: 10px; padding-bottom: 6px; }
  .api-entry-nav .navlinks { display: flex; flex-basis: 100%; order: 3; flex-wrap: wrap; gap: 0 24px; }
  .api-entry-nav .nav-right { min-width: 0; max-width: 45%; flex-wrap: wrap; justify-content: flex-end; font-size: 12px; }
  .api-entry-nav [data-user] { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 650px) {
  .home-api-inner { align-items: stretch; flex-direction: column; gap: 20px; padding-block: 26px; }
  .home-api-copy h2 { font-size: 21px; }
  .home-api-actions { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; }
  .home-api-primary { min-width: 150px; }
  .api-entry-nav .navlinks { gap: 0 12px; font-size: 13px; }
}
