* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page > main,
body > main,
body > .wrap,
body > .auth-shell {
  flex: 1 0 auto;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.container {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
}
.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex: 0 0 auto;
}
.topbar-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(10, 19, 23, .12);
  border-radius: 100px;
  color: #1c252b;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.topbar-link:hover {
  border-color: rgba(10, 19, 23, .28);
}
.site-footer {
  margin-top: auto;
  width: 100%;
  align-self: end;
  justify-self: stretch;
  border-top: 1px solid #dfe5ec;
  background: #ffffff;
  color: #16202a;
}
.site-footer-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: nowrap;
}
.site-footer-brand {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: #16202a;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.site-footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: nowrap;
  font-size: 12px;
}
.site-footer-legal a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #5e6670;
  font-weight: 700;
  white-space: nowrap;
  background: transparent;
  transition: color .15s ease;
}
.site-footer-legal a:hover {
  color: #0a1317;
}
@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1280px);
  }

  .site-footer-inner {
    min-height: auto;
    align-items: center;
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-footer-inner::-webkit-scrollbar {
    display: none;
  }

  .site-footer-legal {
    justify-content: flex-end;
  }
}
