:root {
  color: #111;
  background: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

main {
  width: min(600px, calc(100% - 44px));
  margin: 0 auto;
  padding: 82px 0;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

h2 {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  transform: translateY(-200%);
  background: #111;
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.intro {
  display: flex;
  align-items: center;
  gap: 16px;
}

.intro img {
  width: 92px;
  height: 92px;
  object-fit: cover;
}

.intro p,
.muted,
.date {
  color: #666;
}

section,
.intro + section {
  margin-top: 55px;
}

.history {
  display: grid;
  gap: 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.history li,
.row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.date {
  white-space: nowrap;
}

address {
  display: grid;
  gap: 4px;
  font-style: normal;
}

@media (max-width: 520px) {
  main {
    width: min(330px, calc(100% - 44px));
    padding: 70px 0 48px;
  }

  .history li,
  .row {
    grid-template-columns: 115px minmax(0, 1fr);
  }
}
