/* The landing page header, for pages that do not load home.css. Keep in step with home.css. */
.home-wrap { width: min(1132px, calc(100% - 48px)); margin-inline: auto; }
.home-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; border-bottom: 1px solid #adb9d3; font-family: 'Avenir Next', 'Segoe UI', Arial, sans-serif; }
.home-header a { color: #171821; }
.home-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 650; line-height: 1.2; text-decoration: none; }
.home-brand img { width: 43px; height: auto; display: block; }
.home-brand span { white-space: nowrap; }
.home-nav { display: flex; gap: clamp(14px, 3vw, 36px); align-items: center; }
.home-nav a { font-size: 14px; font-weight: 550; }
.home-nav a:not(.home-button) { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.home-header .home-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border: 1px solid #2e4490; border-radius: 6px; background: #293e8c; color: #fff; font-size: 14px; font-weight: 650; text-decoration: none; }
.home-header .home-button:hover { background: #1d2f75; }
@media (max-width: 899px) { .home-wrap { width: calc(100% - 32px); } }
@media (max-width: 700px) {
  .home-header { flex-wrap: nowrap; gap: clamp(6px, 2.4vw, 14px); padding-block: 12px; }
  .home-header .home-brand span { display: none; }
  .home-header .home-brand img { width: clamp(36px, 11vw, 43px); }
  .home-nav { flex: 1 1 auto; justify-content: flex-end; gap: clamp(8px, 3.4vw, 18px); min-width: 0; }
  .home-nav a { font-size: clamp(12.5px, 3.6vw, 14px); white-space: nowrap; }
  .home-header .home-nav .home-button { min-height: 44px; padding-inline: clamp(9px, 3vw, 14px); }
}

/* Footer, same as the landing page */
.home-footer { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-block: 19px; border-top: 1px solid #adb9d3; }
.home-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; }
.home-footer a { font-size: 14px; font-weight: 550; color: inherit; }
.home-footer a:not(.home-brand) { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.home-footer .home-brand { font-weight: 650; text-decoration: none; }
@media (max-width: 350px) {
  .home-header { gap: 10px; }
  .home-header .home-brand img { width: 34px; }
  .home-nav { gap: 9px; }
  .home-nav a { font-size: 12px; }
  .home-header .home-nav .home-button { padding-inline: 8px; }
}
