/* Keep navigation available on long marketing pages. */
body > header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper, #f7f8fa);
}
body:has(.hero) > header { position: fixed; inset: 0 0 auto; }
html { scroll-padding-top: 105px; }
.cosmo-nav {
  height: 80px;
  padding: 0 4.5%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #19295f;
}
.cosmo-nav-brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.cosmo-nav-brand img { width: 150px; height: auto; }
.cosmo-nav-brand span { font-size: 10px; letter-spacing: .1em; }
.cosmo-nav nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.cosmo-nav nav a { color: inherit; text-decoration: none; white-space: nowrap; font-size: 13px; }
.cosmo-nav nav a:hover, .cosmo-nav nav a:focus-visible { text-decoration: underline; }
.cosmo-nav-toggle { display: none; }
.consultation-back { display: inline-block; margin-bottom: 8px; color: #19295f; font-size: 12px; }
.consultation-page .cosmo-footer { background: #19295f; color: #fff; }
.consultation-page .cosmo-footer img { display: block; width: 130px; margin-bottom: 8px; }
.consultation-page .cosmo-footer a { color: inherit; }
@media (max-width: 900px) {
  .cosmo-nav { height: 64px; }
  .cosmo-nav-brand img { width: 125px; }
  .cosmo-nav-brand span { display: none; }
  .cosmo-nav-toggle {
    display: block;
    background: transparent;
    border: 0;
    color: inherit;
    font: inherit;
    min-height: 44px;
    cursor: pointer;
  }
  .cosmo-nav nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    background: #f7f8fa;
    padding: 12px 5%;
    border-bottom: 1px solid #19295f26;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
  }
  .cosmo-nav nav.open { display: flex; }
  .cosmo-nav nav a { padding: 12px 0; }
}
