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

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #111;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Hero */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.logo {
  display: block;
  width: min(512px, 100%);
  height: auto;
}

/* Footer */
.footer {
  background: #1f1f1f;
  color: #e8e8e8;
  font-size: 14px;
  line-height: 1.6;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px;
}

.footer__brand {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.footer address {
  font-style: normal;
  color: #b5b5b5;
}

.footer address a:hover {
  color: #fff;
}

.footer__social {
  display: flex;
  gap: 20px;
}

.footer__social a {
  display: flex;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.15s ease;
}

.footer__social a:hover,
.footer__social a:focus-visible {
  opacity: 1;
}

.footer__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer__social svg[fill="none"] {
  fill: none;
}

.footer__copy {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  border-top: 1px solid #2e2e2e;
  font-size: 12px;
  color: #8a8a8a;
}

@media (max-width: 560px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
