/* Sticky top bar and primary navigation */
.topbar { position: sticky; inset: 0 0 auto; z-index: 30; height: 76px; background: rgb(255 255 255 / 92%); border-bottom: 1px solid rgb(231 236 242 / 85%); backdrop-filter: blur(16px); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; min-width: 104px; }
.brand img { width: 92px; height: auto; }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: #475467; font-size: 13px; font-weight: 560; transition: color .16s ease; }
.nav-links a:hover { color: var(--blue-700); }
.nav-actions { gap: 18px; }
.sign-in { color: #475467; font-size: 13px; font-weight: 600; transition: color .16s ease; }
.sign-in:hover { color: var(--blue-700); }
.menu-toggle { display: none; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--ink-2); background: #fff; }
.menu-toggle svg { width: 19px; height: 19px; }

@media (max-width: 820px) {
  .topbar { height: 68px; }
  .nav { gap: 14px; }
  .nav-links { gap: 17px; }
  .nav-actions { gap: 12px; }
}
@media (max-width: 620px) {
  .topbar { height: 64px; }
  .brand img { width: 81px; }
  .nav-links { display: none; position: absolute; inset: 63px 0 auto; padding: 10px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 18px rgb(16 24 40 / 7%); }
  .nav-links.is-open { display: grid; gap: 0; }
  .nav-links a { padding: 12px 8px; border-radius: 7px; }
  .nav-links a:hover { background: var(--blue-50); }
  .nav-actions { margin-left: auto; }
  .nav-actions .button { min-height: 39px; padding-inline: 12px; font-size: 11px; }
  .menu-toggle { display: grid; }
}
