.site-shell {
  min-height: 100vh;
}

.site-header,
.site-footer,
.hero-section,
.content-band {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 42px;
  aspect-ratio: 1;
  border-radius: 10px;
  background: linear-gradient(150deg, var(--teal), var(--brand));
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.86);
}

.brand-mark::before {
  width: 7px;
  height: 26px;
  left: 18px;
  top: 8px;
  border-radius: 999px;
}

.brand-mark::after {
  width: 18px;
  height: 7px;
  left: 12px;
  top: 18px;
  border-radius: 999px;
  opacity: 0.45;
  transform: rotate(-22deg);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  color: var(--brand-strong);
  line-height: 1.1;
}

.brand-text span,
.site-footer small {
  color: var(--muted);
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0 50px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
}

@media (max-width: 780px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  .hero-section,
  .content-band {
    width: min(calc(100% - 28px), var(--max-width));
  }
}
