*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Inter, sans-serif;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 3rem, 80rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  box-sizing: border-box;
  height: 97px;
  background: rgba(251, 249, 244, 0.9);
  border-bottom: 1px solid rgba(26, 26, 26, 0.12);
  backdrop-filter: blur(6px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 97px;
  max-width: 1280px;
  margin-inline: auto;
  padding: 0 48px;
}

.site-nav {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 36px;
  transform: translateX(-50%);
}

.site-footer {
  background: #f5f3ee;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 0 1rem;
}

.footer-legal {
  padding: 0 0 1.25rem;
}

.footer-top {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #1a1a1a;
}

.footer-top svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  .header-inner {
    padding: 0 24px;
  }

  .site-nav {
    gap: 18px;
  }

  .footer-main {
    align-items: flex-start;
  }
}
