.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--heading-color);
  font-weight: 800;
  line-height: 1.2;
}
.site-brand:hover {
  text-decoration: none;
}
.site-brand small {
  font-size: 0.68rem;
  color: var(--muted-text-color);
  font-weight: 500;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--primary-color);
  color: #fff;
  font-size: 1.2rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-nav > a:not(.button) {
  color: #334155;
  font-weight: 600;
}
.nav-toggle {
  display: none;
}

body:has(> .site-footer) {
  display: flex;
  flex-direction: column;
}

body:has(> .site-footer) > #main-content {
  flex: 1 0 auto;
}

.site-footer {
  flex: 0 0 auto;
  margin-top: 42px;
  padding: 42px 0 20px;
  color: #c6d1e1;
  background: #101827;
}

.site-footer strong {
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.55fr) repeat(3, minmax(130px, 1fr));
  gap: 56px;
}

.footer-brand-column {
  max-width: 340px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  line-height: 1.25;
}

.footer-brand:hover {
  text-decoration: none;
}

.footer-brand img {
  width: 47px;
  height: 34px;
  object-fit: contain;
}

.footer-brand span,
.footer-column {
  display: grid;
}

.footer-brand strong {
  font-size: 17px;
  font-weight: 700;
}

.footer-brand small {
  margin-top: 2px;
  color: #91a0b5;
  font-size: 12px;
}

.footer-brand-column p {
  margin: 16px 0 0;
  color: #91a0b5;
  font-size: 13px;
  line-height: 1.8;
}

.footer-column {
  align-content: start;
  gap: 10px;
}

.footer-column > strong {
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 600;
}

.footer-column a,
.footer-column span {
  color: #c6d1e1;
  font-size: 13px;
  line-height: 1.6;
}

.footer-column a:hover {
  color: #fff;
}

.footer-note {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding-top: 17px;
  color: #78879c;
  border-top: 1px solid #263247;
  font-size: 12px;
}

.footer-records {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 10px;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }

  .footer-brand-column {
    max-width: none;
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding-top: 30px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 20px;
  }

  .footer-brand-column,
  .footer-notice {
    grid-column: 1 / -1;
  }

  .footer-note {
    flex-direction: column;
    gap: 6px;
  }


  .footer-records {
    justify-content: flex-start;
  }
}
