:root {
  --color-background: #ffffff;
  --color-text: #111111;
  --color-muted: #a3a3a3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: "Inter", sans-serif;
  text-transform: lowercase;
}

main {
  width: min(100% - 40px, 560px);
  margin: 0 auto;
  padding: 56px 0 96px;
}

header {
  margin-bottom: 40px;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

h1 strong {
  font-weight: 700;
}

.hero {
  display: block;
  width: 52%;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 16px 0 72px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-muted);
  font-size: 0.75rem;
}

.social-links img {
  width: 10px;
  height: 10px;
  opacity: 0.65;
}

h2 {
  margin: 0 0 24px;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

li + li {
  margin-top: 20px;
}

a {
  font-size: 0.875rem;
  line-height: 1.4;
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

a:hover,
a:focus-visible {
  color: var(--color-muted);
}

a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

section a::after {
  margin-left: 6px;
  content: "↗";
  color: var(--color-muted);
  font-size: 0.7em;
}

@media (max-width: 520px) {
  main {
    width: min(100% - 32px, 560px);
    padding-top: 40px;
  }

  .social-links {
    gap: 14px;
  }
}
