body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
}

body > nav {
  align-items: center;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
  min-height: var(--nav-height);
  padding: 0.65rem 1rem;
  position: sticky;
  top: 0;
  z-index: 110;
  background-color: var(--color-canvas);
}

body > nav .nav__start,
body > nav .nav__end {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

body > nav .nav__start {
  grid-column: 1;
}

body > nav .nav__end {
  grid-column: 3;
  justify-content: flex-end;
}

body > nav .nav__logo {
  grid-column: 2;
  justify-self: center;
}

.nav__logo {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: var(--text-large);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
  padding: 0.1rem 0.25rem;
}

body > nav .nav__link {
  color: inherit;
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

@media (max-width: 48rem) {
  body > nav .nav__start {
    display: none;
  }
}

main {
  min-width: 0;
  max-width: 100%;
}
